Parametrization API¶
Providing arguments for dynamic parametrization¶
The following objects help to provide parameters inside the dynamic parametrization decorator
balder.parametrize_by_feature()
.
The Value
object¶
The Parameter
object¶
The FeatureAccessSelector
object¶
- class balder.parametrization.FeatureAccessSelector(device: Type[Device], device_property_name: str, feature_property_name: str, parameters: Dict[str, FeatureAccessSelector | Value] = <factory>)¶
helper object for dynamic parametrizing by feature method/property
- get_parameters(of_type: Type[FeatureAccessSelector | Parameter | Value] | None = None) Dict[str, FeatureAccessSelector | Parameter | Value] ¶
Returns the parameters of this access selector
- Parameters
of_type – allows to filter the parameters by the value’s type
- get_value(available_parameters: Dict[str, Any]) List[Any] ¶
accesses the configured method/property