watson.di

class watson.di.ContainerAware[source]

An interface for classes that should have a container.

Primarily used by the IocContainer, any class that subclasses it will have the container it was called from automatically injected into it.

container[source]
Returns:The instance of the injected container.