The Wayback Machine - https://web.archive.org/web/20220109140904/https://github.com/topics/asgi
Skip to content
#

ASGI

ASGI (Asynchronous Server Gateway Interface) is a spiritual successor to WSGI, intended to provide a standard interface between async-capable Python web servers, frameworks, and applications.

Here are 215 public repositories matching this topic...

mihaitodor
mihaitodor commented Oct 28, 2021

As discussed in #1979, the current CONTRIBUTING.md document instructs people to run tools/mintest.sh, which requires Python 3.8 and 3.5 installed simultaneously and then it makes things a bit confusing when referencing Python 3.6 or 3.7 and then pyenv shell 3.8.0 3.5.8 and then further below pyenv virtualenv 3.8.0 falcon-sandbox-38. I'm not familiar with pyenv, but this

dantownsend
dantownsend commented Nov 12, 2021

It would be nice if there was a new clause which can be added to queries called callback.

For example:

def callback_handler(success, value):
    if success:
        print(f'The query was successful and returned {value}')
    else:
        print("The query failed")

Band.select().callback(callback_handler).run_sync()

The callback could be a function or coroutine, wh