-
I noticed that using `provider.Resource()` with `container.init_resources()` and `container.shutdown_resources()` does not call the `__enter__` and/or `__exit__` methods for a class or the `@contextli…
-
Will this example (https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/fastapi-sqlalchemy) be a production ready setup with connection pooling etc?
-
Just compiled and am ready to use the nogil Python and realized the Python variant won't work with any libraries that use dis.py and/or opcode.py.
For example:
In Js2Py library, https://github.com…
-
Currently if the callable provider fails due to missing arguments or other errors, it may be hard to find out which guy is missing arguments if one provider is being referred many times.
```pytb
src…
-
Hi!
I build the Dockerfile.local with an llm model installed in models following your instructions. However, I get the following error:
```
22:44:47.903 [INFO ] private_gpt.settings.setting…
-
I have an issue with circular imports that I am having trouble resolving.
Here is a simple repro case which is similar to what I am doing:
```
$ tree
.
└── circular
├── a.py
├── b.p…
-
Hi! First off, this is a fantastic library - thank you for all your efforts. If I define multiple providers for the same type and then pass both providers to the `Injector`, the "last" provider takes …
-
- https://medium.com/analytics-vidhya/how-to-write-validating-and-mutating-admission-controller-webhooks-in-python-for-kubernetes-1e27862cb798
- https://github.com/tumblr/k8s-sidecar-injector
-
We are using the python injector directly so there's no need for the flask integration, I think.
-
This has been in my mind for some time so I decided to finally write it.
Would that be possible to specify the `Injector` instance that should be used to inject dependencies? I see it the following…