The Wayback Machine - https://web.archive.org/web/20220605010357/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 233 public repositories matching this topic...

vytas7
vytas7 commented May 6, 2022

Sometimes it might be handy to easily get a header's value as int, where validation errors would automatically result in an HTTP 400, along the lines of req.get_header_as_datetime & [req.get_param_as_int](https://falcon.readthedocs.io/en/stable/api/request_and_response_wsgi.ht

good first issue enhancement proposal needs contributor
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

enhancement good first issue medium priority
starlite
relsunkaev
relsunkaev commented Mar 23, 2022

Starlette's ASGI types use MutableMapping[str, Any] which is not too different from just typing them dict. This package is fully spec compliant and would help in implementing additional ASGI functionality, as it would allow us to see exactly which keys are available/required to support a feature. There is currently a PR for Starlette that addres

enhancement good first issue
sqladmin
lovetoburnswhen
lovetoburnswhen commented Mar 5, 2022

Checklist

  • There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.

No response

Describe the solution you would like.

eg how FastAPI-Admin can specify tabler icons https://tablericons.com/

Describe alternatives you considered

No response

Additional context

No response

enhancement good first issue