Skip to content

Value

uzi.providers.Value

Bases: Provider[T_Injected, nodes._T_ValueNode]

Provides the given object as it is.

Example

T will always resolve to obj.

obj = object()
container[T] = Value(obj)

Parameters:

Name Type Description Default
concrete T_Injected

The object to be provided

required
Back to top