You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a backend-for-frontend Django App which fetches data from different APIs and puts them together inside the resolvers.
The problem is I can't get a persistent global session to the resolver.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I have a backend-for-frontend Django App which fetches data from different APIs and puts them together inside the resolvers.
The problem is I can't get a persistent global session to the resolver.
urls.py
client.py
resolvers.py
Is there a way to provide a persistent global aiohttp session to the resolver through the context?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions