Skip to content
#

async-python

Here are 39 public repositories matching this topic...

ktdreyer
ktdreyer commented Apr 11, 2019

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 [

konstantin-Sk
konstantin-Sk commented Jan 31, 2020

Hello! If I'm not wrong I found a typo in Introduction section.
https://aio-pika.readthedocs.io/en/latest/rabbitmq-tutorial/1-introduction.html
You mentioned several time and listed in code snippet that in sender.py queue must be declared before send a message. But in sender.py code right after channel creating you publish a message and if run a sender.py before receiver.py you will not receive

lucagiovagnoli
lucagiovagnoli commented Apr 21, 2016

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.ori

Improve this page

Add a description, image, and links to the async-python topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the async-python topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.