python-dependency-injector
python-dependency-injector copied to clipboard
Dependency injection framework for Python
Hi, I just wonder if there any possible transform configuration as pydantic.BaseSettings type? There are some frameworks are dependency on pydantic settings. This is weird to import pydantic to DI's...
Hello, I'm a happy user of your package, it's awesome. I come from the .NET stack and find it very useful in Python. I don't know if it is available...
Since I am using MacOS M1 I can't run programs that are using Dependency Injector. Error message: ".../.env/lib/python3.9/site-packages/dependency_injector/containers.cpython-39-darwin.so: mach-o, but wrong architecture"
I’ve discovered this project while looking for Python dependency injection solutions. So far it seems to be the most promising one. One thing I’m looking for is to specify dependencies...
Hi mates, trying use this beautiful lib with FastApi as better IoC container but not sure whether it is possible to inject http Request object as argument of FastApi router...
Hi, I am working on an application whose configuration is provided in the form of environment variables, so we rely on the `load_yaml` method to load a config file with...
hi, I cloned the git-master code and try to run the example without any modification in my miniconda environment where python version is 3.8.11, but the example “fastapi-sqlalchemy” cannot be...
Reading the Dependency Injector page I saw that it implements a DynamicContainer (https://python-dependency-injector.ets-labs.org/containers/dynamic.html) beyond the DeclarativeContainer I am currently using. Right now I have this configuration: ```python # container.py from...
I have attempted to override the entire container for test purposes and realized that even though I have replaced all the resources with dummy ones, the original resources were still...
After upgrading from `4.10.1` to `4.29.2`, I noticed that some Resources which remained unitialized in prior version unexpectedly started to initialize during `init_resorces()` call. The **Selector** provider initializes all nested...