issues Search Results · repo:ets-labs/python-dependency-injector language:Python
Filter by
598 results
(65 ms)598 results
inets-labs/python-dependency-injector (press backspace or delete to remove)Hello everyone. In version 4.46.0 the order of complex inheritance has been broken.
from dependency_injector import containers, providers, __version__
from dependency_injector.wiring import Provide, inject ...
wb7777
- Opened 3 days ago
- #884
I m working on a robotics application using Dependency Injector, and I want to support live configuration changes (e.g.
coming from a user interface).
Is there an idiomatic way to respond to configuration ...
moi90
- 4
- Opened 6 days ago
- #883
MCVE
1. models.py (Defines the pydantic dataclass)
from pydantic import field_validator
from pydantic.dataclasses import dataclass
@dataclass(slots=True)
class Data:
a: str
@classmethod
...
Nagato-Yuzuru
- 4
- Opened 7 days ago
- #882
Is there any way to pass config dict as **kwargs to my class? There is 2 problem I try to solve:
1) Too many args will lead to an additional manual labor of mapping config
2) in example below session_db ...
frenzyk
- Opened 9 days ago
- #881
Under normal circumstances, the following code can be run:
class Container(containers.DeclarativeContainer):
config: CommonConfig = providers.Configuration()
# redis pool
redis_pool ...
xuexiaolei1997
- 2
- Opened on Apr 15
- #877
Using dependency-injector version 4.45.0 in Python 3.13.1 in MacOS 14.5.
Minimal reproducible example:
from dependency_injector.providers import Configuration
config = Configuration()
config.from_dict( ...
jnhnum1
- Opened on Mar 24
- #874
Reproducible project: https://github.com/YogiLiu/pdi_issue
When I run python -m pdi_issue.main, an error was raised:
Traceback (most recent call last):
File frozen runpy , line 198, in _run_module_as_main ...
YogiLiu
- 2
- Opened on Mar 23
- #873
Hi, thanks for providing this library, I really like it!
Could you tell me if there is a way to create List[Provider[X]] from Provider[List[X]]?
I call this operation InsideOut.
def InsideOut(Provider[List[X]]) ...
zenlambda
- Opened on Mar 19
- #872
I am trying to implement a behavior that is really close to ThreadLocalSingleton scopes.
I have a container that is created when app starts. It holds data about the current customer. So when the app starts, ...
gael-ft
- 3
- Opened on Mar 10
- #870
After updating to 4.46.0, there is an endless iteration through the list when using Configuration.
For example:
from dependency_injector.containers import DeclarativeContainer
from dependency_injector.providers ...
AndreyFrolov44
- 2
- Opened on Mar 10
- #869

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.