function
get_options_class
PythonRetrieve the registered options dataclass for a given optype.
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
| Name | Type | Default | Description |
|---|---|---|---|
op_type | AirOpType | Required | The operator type to look up. |
Returns
| Type | Description |
|---|---|
type[AirOperatorOptions] | type[AirOperatorOptions]: The options class for the operator type. |