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

strawberry
patrick91
patrick91 commented Jan 23, 2021

I found a place where I had this:

from .enums import ExampleEnum

ABC = strawberry.type(ExampleEnum)

I think we should add a safety check as we already for enums: https://github.com/strawberry-graphql/strawberry/blob/master/strawberry/enum.py#L24-L25

We should only allow to decorate classes with strawberry.type, strawberry.input and strawberry.interface

rgarrigue
rgarrigue commented Apr 24, 2020

HI again ! Last issue for the period I believe ;-)

Would you mind adding a quick doc about how to extend the metrics ? The FastAPI / starlette ones are a very good basis, but I'ld like to add some related to my app.

For example I have a Postgres database, I want to add the number of active subscription in the metrics, aka the result of a SELECT * FROM subscription WHERE active == 1 that wo