mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-28 20:44:01 +03:00
14 lines
248 B
Cython
14 lines
248 B
Cython
"""Containers module."""
|
|
|
|
# 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)
|