Finish Singleton refactoring to use async mode api

This commit is contained in:
Roman Mogylatov 2021-01-01 22:34:19 -05:00
parent 3da1698f95
commit 2c911ff1f2
4 changed files with 4554 additions and 4679 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -143,7 +143,6 @@ cdef class FactoryAggregate(Provider):
cdef class BaseSingleton(Provider):
cdef Factory __instantiator
cdef object __storage
cdef bint __async
cdef class Singleton(BaseSingleton):

View File

@ -2029,7 +2029,6 @@ cdef class BaseSingleton(Provider):
self.__class__, self.__class__.provided_type))
self.__instantiator = Factory(provides, *args, **kwargs)
self.__async = False
super(BaseSingleton, self).__init__()