PluginParamInfo
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class PluginParamInfo(name: str, required: bool, annotation: str, default: str, allowed: str, description: str)[source]
Bases:
objectOne
Spec/Registry.createparameter from the v2 constructor.Rows are built from
constructor_signature()for built-in components. When a third-party plugin registers a legacy Pydanticparams_model, that schema is used instead.descriptionprefers the PydanticField(description=...), then the registered classArgs:section, then the params-model field docstring.allowedis a short constraint string (Literal choices, numeric bounds).