ParameterEnum
Bases: Enum
Enum with a .wire
method allowing easy injection of members.
Allows you to add application parameters as enum members and their names as values. When you need to inject a parameter instead of referencing it by name you can annotate the parameter with the wire function call or set that as the default value.
This will inject a parameter by name and won't work with expressions.
Functions
wire()
Inject the parameter this enumeration member represents.
Equivalent of Inject(param=EnumParam.enum_member.value)