Open
Description
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(
{"a": {"root": 3}}
)
assert config.a.root() == 3, f"Expected 3, got {config.a.root()}"
Skimming the source, it appears the issue is here: https://github.com/ets-labs/python-dependency-injector/blob/6e4794bab18fef3ffbc6a11bee526fe24688286f/src/dependency_injector/providers.pyx#L1595C1-L1597C26
It doesn't appear that this "root" property is used anywhere, nor is it documented at https://python-dependency-injector.ets-labs.org/providers/configuration.html
Metadata
Metadata
Assignees
Labels
No labels