morpheus.pipeline.stage_schema.StageSchema
- class StageSchema(stage)[source]
Bases:
object
- Attributes
input_schema
input_schemas
input_type
input_types
output_schema
output_schemas
Single port variant of input_schemas.
Return all input schemas, one for each input port.
Single port variant of input_types.
Return the type associated with each input port.
Single port variant of output_schemas.
Return all output schemas, one for each output port.
- property input_schema: morpheus.pipeline.stage_schema.PortSchema
Single port variant of input_schemas. Will fail if there are multiple input ports.
- property input_schemas: list[morpheus.pipeline.stage_schema.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: morpheus.pipeline.stage_schema.PortSchema
Single port variant of output_schemas. Will fail if there are multiple output ports.
- property output_schemas: list[morpheus.pipeline.stage_schema.PortSchema]
Return all output schemas, one for each output port.