that-depends
that-depends copied to clipboard
Support Multiple Context Backends
Right now, all Context providers use ContextVars as storage.
It would be good to have an alternative, for example, if someone needs more reliable persistence when working with asyncio.
To-do:
- [ ] Abstract away all context logic into a
ContextVarbackend. - [ ] Implement a dummy (
dict?) backend.