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 216 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

atiberghien
atiberghien commented Jan 17, 2022

When running strawberry export-schema core.schema:schema in a django project, we get this error:

django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

To fix this we should create a management comm

kevinmic
kevinmic commented Dec 8, 2021

We are moving some of our django applications to run inside a lambda. When we did so we lost access logs and gained logs that don't have much information. It would be useful if the Mangum Request/Response had additional log information or a mechanism was added to make logging access logs easy.

Example. WSGI access logs

GET /v2/resource HTTP/1.1" 200 686
GET /v2/resource/123 HTTP/1.1" 20
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