footings.scenario_registry.def_attribute

def_attribute(default: Any, dtype: Optional[type] = None, description: Optional[str] = None)[source]

Define an attribute within a scenario.

Parameters
  • default (Any) – The default value for the attribute.

  • dtype (type) – The dtype of the attribute.

  • description (str) – The attribute description.