get_param_schema

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

get_param_schema(name: str, domain: str) → Type[BaseModel] | None[source]

Return a legacy Pydantic params_model for a plugin, if registered.

Built-in v2 components do not register params_model; for those use constructor_signature() or plugin_catalog() instead. This helper remains for third-party plugins that still attach a Pydantic schema via register_params_model.