mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-28 20:44:01 +03:00
17 lines
282 B
Cython
17 lines
282 B
Cython
|
"""Dependency injector containers.
|
||
|
|
||
|
Powered by Cython.
|
||
|
"""
|
||
|
|
||
|
# Declarative containers are declared as regular types because of metaclasses
|
||
|
|
||
|
|
||
|
# Dynamic container
|
||
|
|
||
|
|
||
|
# Utils
|
||
|
cpdef bint is_container(object instance)
|
||
|
|
||
|
|
||
|
cpdef object _check_provider_type(object container, object provider)
|