module documentation
Undocumented
Class |
|
Create a namespace of context-local data. This wraps a :class:`ContextVar` containing a :class:`dict` value. |
Class |
|
Manage releasing the data for the current context in one or more :class:`Local` and :class:`LocalStack` objects. |
Class |
|
A proxy to the object bound to a context-local object. All operations on the proxy are forwarded to the bound object. If no object is bound, a ``RuntimeError`` is raised. |
Class |
|
Create a stack of context-local data. This wraps a :class:`ContextVar` containing a :class:`list` value. |
Function | release |
Release the data for the current context in a :class:`Local` or :class:`LocalStack` without using a :class:`LocalManager`. |
Type Variable | F |
Undocumented |
Type Variable | T |
Undocumented |
Class | _ |
Look up an augmented assignment method on a proxied object. The method is wrapped to return the proxy instead of the object. |
Class | _ |
Descriptor that handles proxied attribute lookup for :class:`LocalProxy`. |
Function | _identity |
Undocumented |
Function | _l |
Swap the argument order to turn an l-op into an r-op. |