mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 14:59:08 +03:00
Re-make Container provider as Cython type
This commit is contained in:
parent
6791f99246
commit
afa450d8a5
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -41,6 +41,10 @@ cdef class DependenciesContainer(Object):
|
|||
cpdef object _override_providers(self, object container)
|
||||
|
||||
|
||||
cdef class Container(DependenciesContainer):
|
||||
cpdef object container
|
||||
|
||||
|
||||
cdef class OverridingContext(object):
|
||||
cdef Provider __overridden
|
||||
cdef Provider __overriding
|
||||
|
|
|
@ -606,9 +606,9 @@ cdef class DependenciesContainer(Object):
|
|||
provider.override(dependency_provider)
|
||||
|
||||
|
||||
class Container(DependenciesContainer):
|
||||
cdef class Container(DependenciesContainer):
|
||||
|
||||
def __init__(self, container):
|
||||
def __init__(self, object container):
|
||||
self.container = container
|
||||
super().__init__()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user