setup
WiringDictionaryEntry
dataclass
populate_container
populate_container(
container: DynamicContainer,
providers_config: dict[str, WiringDictionaryEntry],
) -> set[str]
Populate the dependency injection container with the provided services.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
container
|
DynamicContainer
|
The dependency injection container to populate. |
required |
providers_config
|
dict[str, WiringDictionaryEntry]
|
The configuration dictionary containing service providers. |
required |
Returns:
| Type | Description |
|---|---|
set[str]
|
A set of module names that the container will be wired to. |
Source code in src/nexosapi/config/setup.py
wire_sdk_dependencies
Wire the SDK dependencies. This function is called to ensure that the SDK services are properly initialized.