Ligare.programming.patterns.dependency_injection

Injector dependency injection modules for extension by other modules.

Classes

BatchModule(registrations)

ConfigurableModule()

LoggerModule([name, log_level, log_to_stdout])

class Ligare.programming.patterns.dependency_injection.BatchModule(registrations)[source]
__init__(registrations)[source]
configure(binder)[source]

Override to configure bindings.

Return type:

None

class Ligare.programming.patterns.dependency_injection.ConfigurableModule[source]
abstract static get_config_type()[source]
Return type:

type[AbstractConfig]

class Ligare.programming.patterns.dependency_injection.LoggerModule(name=None, log_level=20, log_to_stdout=False)[source]
__init__(name=None, log_level=20, log_to_stdout=False)[source]
configure(binder)[source]

Override to configure bindings.

Return type:

None