twisted
Here are 203 public repositories matching this topic...
Hi,
by a total chance, I've run into this fragment on main page (http://spyne.io/#auxproc=Sync&s=aux :)
To do additional work after the primary method returns, you can set the aux attribute in another service definition class and implement the same method signature
For a total beginner in spyne/rpc world (that is me) this was quite enlighting in terms of what is happening. Earlier
Discussing with Mexicoleaks it has been identified valuable to add a feature to make it possible for an admin to add instructions to be provided to users when downloading files.
This could be useful to always provide documentation to users part of the project; this documentation is expected to be used for training users about risks related to malware and metadata.
The idea is that any file d
Hello. I am trying to migrate my project from basic logging to something more advanced and someone recommended this module through reddit. I have been through the quick-start guide and other available documentation and have some very basic questions about the API.
How can I parse the logs and format them for the stdout?
Is there a way to stream what's being written to the log, just like the
I was writing my first app with Klein, and I wanted to serve some CSS and Javascript files. I read this example: https://klein.readthedocs.io/en/latest/examples/staticfiles.html
It shows me how to open up a directory, but anyone can browse the whole directory on disk to discover all the contents. I don't want to enable directory listings, and I just want to serve specific static files.
The [
I am trying to figure out how to setup a basic minimum sink connector with Apache2 so it makes jasmin happy.
So the idea is to have a page that replies correctly to the jasmin MO messages submitted to it and ultimately throwing the messages away.
The reasons behind having dummy (/dev/null) connector is because the MO messages are not routed unless there is at least one destination, even thou
I didn't see any documentation on tor2web github wiki about how tor2web works 。
In addition, the documentation of infrastructure you provided was null.
Now that I've successfully configured my own tor2web node, I'd like to know how tor2web works, and it would be nice to be provided with a tor2web design diagram.
I would like to improve the developer documentation and got something like this in mind:
- provide a boilerplate for a new plugin
- provide a boilerplate for a new logger
- explain development of both step by step (like how its done in the
Pluginssection already)
What do you think? Is there something else to include?
Currently the documentation provides an example on for GET request. Can an example for POST request that demonstrates sending a payload and setting headers be add to the documentation?
Would it be something like this
from requests_threads import AsyncSession
session = AsyncSession(n=100)
async def _main():
url = u"https://api.github.com/repos/psf/requests/issues/482/comments"
Unless I'm not seeing the reference, there is no way to access the parent document from inside an embedded document instance method without passing in the document when calling the function. This is particularly useful for integration objects but I'm sure there are benefits for other use cases.
for example:
class EmbeddedIntegration(umongo.EmbeddedDocument):
api_obj_id = fields-
Updated
Mar 23, 2020 - Python
I encountered an issue with crochet not terminating the twisted deferred correctly when raising the TimeoutError exception.
Code for reference
def test_eventual_result_timeout(server_url):
# server incredibly slow
eventual_result = fido.fetch(server_url + '100sec')
# make sure no timeout error is thrown here but only on result retrieval
assert eventual_result.oriThe docs currently focused on providing reference documentation, and a little quickstart section.
It would be great to further expand on how to use gidgethub for GH Actions or GitHub v4 API.
Perhaps the docs can be split into:
- Quick Start
- API Reference
- More Examples, e.g. building a GitHub App, Actions, etc.
Hello,
I'm trying to test a remote Firefox connection using Arsenic. It doesn't look like your Remote service supports desired_capabilities or profile parameters?
Here is the synchronous code I usually use:
from selenium import webdriver
capabilities = {
'platform': 'LINUX', 'browserName': browser, 'version': '',
'enableVNC': True,
}
profile
In rollbar.report_message's extra_data kwarg, "body" being reserved leads to surprising behavior
Per this comment on rollbar.report_message: https://github.com/rollbar/pyrollbar/blob/33ef2e723a33d09dd6302f978f4a3908be95b9d2/rollbar/__init__.py#L427 the body key in the extra_data kwarg is "reserved". I discovered the hard way that, if you happen to pass a dict with a body key, the message you intended to report is replaced with that raw JSON. This was quite difficult to track down, as
-
Updated
Aug 28, 2019 - Python
-
Updated
May 29, 2020 - Python
Hi,
Does anybody know how we can configure Cardinal to issue a raw server command after it connects to an IRC server?
-
Updated
Mar 23, 2020 - Python
@glyph points out in #82 that the docs are out-of-date insofar as linesToNumbersOrOperators is shown as being decorated @tube, but not @receiver.
On master, in docs/listings/rpn.py, linesToNumbersOrOperators is indeed shown as decorated @receiver(inputType=IFrame). In addition, tube.rst has :prepend: @tube in the entry for this include.
I have built the docs myself locally a
What I'd like to do is:
- logging in both a file-like object and STDOUT.
- have control on the format of the messages. (change it depending on the destination, the level of log, etc.)
I can't figure how to achieve it with the current API.
Is it something that goes against the philosophy of txaio or do you plan to have such features one day?
Improve this page
Add a description, image, and links to the twisted topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the twisted topic, visit your repo's landing page and select "manage topics."
Documentation issue
https://github.com/evennia/evennia/wiki/Tags
I would really appreciate a little clarification on tags and how to use them to extract objects. For example, if I have a list of objects and only want to get ones with "outside room" in the tag, there's no explanation of how to do so.
Suggested change
A couple examples perhaps using tags.get or something like that, s