graphql-python / graphql-python/sanic-graphql
Cleaning up resources in context after request
Aperta
- Lingua principale
- Python
- Stelle
- 148
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I'm using the graphql context to pass (potentially) shared resources, like database connections, to the schema resolvers.
These resources eventually need to be cleaned up(i.e. closing connections).
What's the best way to do that right now?
Thanks!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.