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
{{ message }}
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
A side question I had which would be nice to have documented: do you have a recommended way of passing cache objects to submodules (e.g. if you have various submodules defining a starlette router and some endpoints), or just around the project in general? Having some more example patterns in the documentation would be great 👍
The text was updated successfully, but these errors were encountered:
I think one possible idiom to use here is a resources.py file where you would declare the cache instance (or multiple instances, e.g. cache_default, cache_special, etc.), and then import it in the various parts of the application:
@invokermain wrote in #22:
The text was updated successfully, but these errors were encountered: