mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Merge branch 'release/3.17.1' into master
This commit is contained in:
commit
3a0c746430
|
@ -7,6 +7,10 @@ that were made in every particular version.
|
|||
From version 0.7.6 *Dependency Injector* framework strictly
|
||||
follows `Semantic versioning`_
|
||||
|
||||
3.17.1
|
||||
------
|
||||
- Fix ``DynamicContainer`` deep-copying bug.
|
||||
|
||||
3.17.0
|
||||
------
|
||||
- Add ``Container`` provider.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"""Dependency injector top-level package."""
|
||||
|
||||
__version__ = '3.17.0'
|
||||
__version__ = '3.17.1'
|
||||
"""Version number that follows semantic versioning.
|
||||
|
||||
:type: str
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -62,9 +62,11 @@ class DynamicContainer(object):
|
|||
|
||||
copied = self.__class__()
|
||||
copied.provider_type = Provider
|
||||
copied.providers = deepcopy(self.providers, memo)
|
||||
copied.overridden = deepcopy(self.overridden, memo)
|
||||
|
||||
for name, provider in deepcopy(self.providers, memo).items():
|
||||
setattr(copied, name, provider)
|
||||
|
||||
return copied
|
||||
|
||||
def __setattr__(self, str name, object value):
|
||||
|
|
Loading…
Reference in New Issue
Block a user