======================================== API ======================================== Version |version| Local State ======================================== .. autoclass:: aiolocals.Context :members: .. autoclass:: aiolocals.Local :members: .. autofunction:: aiolocals.wrap_async .. autofunction:: aiolocals.wrap_gather Logging ======================================== .. autofunction:: aiolocals.configure_logging .. autoclass:: aiolocals.LogConfiguration :members: .. autoclass:: aiolocals.RequestIdLoggingFilter :members: .. autofunction:: aiolocals.job_context aiohttp Integration ======================================== .. autofunction:: aiolocals.context_middleware_factory Tracking local context in threads ================================= .. autodata:: aiolocals.local.preserve_context_in_threads :annotation: The context manager which preserves task identity in threads spawned by task