Skip to content
heliaAOT
HELIA HUB

get_options_class

Machine-readable model

  • get_options_classfunctionRetrieve the registered options dataclass for a given optype.
function

Retrieve the registered options dataclass for a given optype.

helia_aot/air/options.py:101

get_options_class(
registry: Registry[AirOpType | str, type[AirOperatorOptions]],
op_type: AirOpType | str,
) -> type[AirOperatorOptions]

Retrieve the registered options dataclass for a given op_type.

If not found, falls back to the base AirOperatorOptions.

Parameters of get_options_class
NameTypeDefaultDescription
op_typeAirOpTypeRequiredThe operator type to look up.
Returns of get_options_class
TypeDescription
type[AirOperatorOptions]type[AirOperatorOptions]: The options class for the operator type.