mafw.models.processor_schema
Schemas describing a processor.
These light-weight dataclasses capture the static metadata that is declared through
Processor definitions and can be consumed by tooling without instantiating
the processor itself.
Classes
|
Static metadata describing a processor. |
- class mafw.models.processor_schema.ProcessorSchema(parameters: List[ParameterSchema], filter: FilterSchema | None)[source]
Bases:
objectStatic metadata describing a processor.
- Parameters:
parameters – List of parameter schemas.
filter – Optional filter schema.
- get_parameter(parameter_name: str) ParameterSchema[source]
Return the parameter schema for the given parameter name.