Flask
wireup.integration.flask¶
Functions¶
get_app_container(app)
¶
Return the container associated with the given application.
get_request_container()
¶
Return the container handling the current request.
setup(container, app)
¶
Integrate Wireup with Flask.
Setup performs the following: * Injects dependencies into Flask views. * Creates a new container scope for each request, with a scoped lifetime matching the request duration.