lightbulb.di.utils

get_dependency_id(dependency_type: Any) str[source]

Get the dependency id of the given type. This is used when storing and retrieving dependencies from registries and containers.

Parameters:

dependency_type – The type to get the dependency id for.

Returns:

The dependency id for the given type.