python-dependency-injector/examples/containers
Roman Mogylatov 3ca6dd9af1
Providers traversal (#385)
* Implement providers traversal in first precision

* Implement traversal for all providers

* Update traverse interface + add some tests

* Refactor tests

* Add tests for callable provider

* Add configuration tests

* Add Factory tests

* Add FactoryAggrefate tests

* Add .provides attribute to singleton providers

* Add singleton provider tests

* Add list and dict provider tests

* Add resource tests

* Add Container provider tests

* Add Selector provider tests

* Add ProvidedInstance provider tests

* Add AttributeGetter provider tests

* Add ItemGetter provider tests

* Add MethodCaller provider tests

* Refactor container interface

* Update resource provider string representation

* Add .initializer attribute to Resource provider

* Add docs and examples

* Remove not needed EOL in the tests

* Make cosmetic refactoring

* Ignore flake8 line width error in traverse example
2021-02-01 09:42:21 -05:00
..
declarative_inheritance.py Update the declarative container docs 2020-08-14 16:27:17 -04:00
declarative_injections.py Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
declarative_override_decorator.py Un deprecate container decorators (#310) 2020-10-22 12:00:46 -04:00
declarative_override_providers.py Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
declarative_provider_type.py Update container provider type specialization docs 2020-08-16 00:53:37 -04:00
declarative.py Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
dynamic_provider_type.py Update container provider type specialization docs 2020-08-16 00:53:37 -04:00
dynamic_runtime_creation.py Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
dynamic.py Improve declarative and dynamic container docs 2020-08-15 22:09:41 -04:00
override.py Update container overriding docs 2020-08-16 01:10:08 -04:00
traverse.py Providers traversal (#385) 2021-02-01 09:42:21 -05:00