mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-01-31 03:36:41 +03:00
Update docs
This commit is contained in:
parent
61f53d9974
commit
eb6cd303de
|
@ -24,7 +24,7 @@ There are 3 main entities: providers, injections and catalogs.
|
|||
Providers
|
||||
~~~~~~~~~
|
||||
|
||||
Providers are strategies of accesing objects. For example,
|
||||
Providers are strategies of accessing objects. For example,
|
||||
:py:class:`dependency_injector.providers.Factory` creates new instance
|
||||
of provided class every time it is called.
|
||||
:py:class:`dependency_injector.providers.Singleton` creates provided
|
||||
|
|
|
@ -6,9 +6,7 @@ What is dependency injection and inversion of control?
|
|||
:description: This article provides definition of dependency injection,
|
||||
inversion of control and dependency inversion. It contains
|
||||
example code in Python that is refactored to be following
|
||||
inversion of control principle and then enhanced by
|
||||
inversion of control container based on "Dependency Injector"
|
||||
declarative catalog.
|
||||
inversion of control principle.
|
||||
|
||||
Definition
|
||||
~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue
Block a user