morpheus.pipeline.stage_schema.StageSchema#
- class StageSchema(stage)[source]#
Bases:
object- Attributes:
input_schemaSingle port variant of input_schemas.
input_schemasReturn all input schemas, one for each input port.
input_typeSingle port variant of input_types.
input_typesReturn the type associated with each input port.
output_schemaSingle port variant of output_schemas.
output_schemasReturn all output schemas, one for each output port.
- property input_schema: PortSchema#
Single port variant of input_schemas. Will fail if there are multiple input ports.
- property input_schemas: list[PortSchema]#
Return all input schemas, one for each input port.
- property input_type: type#
Single port variant of input_types. Will fail if there are multiple input ports.
- property input_types: list[type]#
Return the type associated with each input port.
Convenience function for calling
port_schema.get_type()for each element ininput_schemas.
- property output_schema: PortSchema#
Single port variant of output_schemas. Will fail if there are multiple output ports.
- property output_schemas: list[PortSchema]#
Return all output schemas, one for each output port.