python-dependency-injector/src/dependency_injector/containers.pxd

14 lines
248 B
Cython
Raw Normal View History

2020-09-10 05:23:28 +03:00
"""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)