-
-
Notifications
You must be signed in to change notification settings - Fork 335
Description
Hi!,
I am considering the use of your library and I want to be able to define Container's providers in runtime. For this I want to use a DynamicContair. AFAIK this should fit prefectly.
Once I started to test it I used your flask-blueprints example [1]. After changing the line which refers to the Container definition [2] to inherit from DynamicContainer everything fails. How should I modify the example to work properly with DynamicContainers ?, in the doc [3] there is not any special mention to anything.
Regards,
Xavi
[1] - https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/flask-blueprints
[2] -
python-dependency-injector/examples/miniapps/flask-blueprints/githubnavigator/containers.py
Line 9 in 54de3a9
class Container(containers.DeclarativeContainer): |
[3] - https://python-dependency-injector.ets-labs.org/containers/dynamic.html