Skip to content

ASGI

wireup.integration.asgi

Attributes

inject = inject_from_container_unchecked(get_request_container, hide_annotated_names=True) module-attribute

Inject dependencies using the current ASGI request scope.

Classes

WireupASGIMiddleware

ASGI middleware that manages a Wireup scope for each HTTP/WebSocket request.

Functions

get_request_container()

Return the Wireup container for the current HTTP/WebSocket request.