mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +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)
|