[docs]classPipelineMetadata(ImmutableModel):"""Data holder for input config's metadata."""pipeline_name:striris_version:str_version_check=validator("iris_version",allow_reuse=True)(pipeline_metadata_version_check)
[docs]classPipelineValue(ImmutableModel):"""Data holder for pipeline value that flows through the system with optional index to specify value this holder refers to if value is of Iterable type."""name:strindex:Optional[int]
[docs]classPipelineInput(PipelineValue):"""Data holder for the reference to an input node."""source_node:Union[str,List[Union[str,PipelineValue]]]
[docs]classPipelineClass(ImmutableModel):"""Data holder for the reference to any class: Algorithm, Callback, etc."""class_name:strparams:Dict[str,Union[int,float,str,PipelineClass,Tuple[int,float,str,PipelineClass],List[Union[int,float,str,PipelineClass]],],]
[docs]classPipelineNode(ImmutableModel):"""Data holder for one node in a declared pipeline."""name:stralgorithm:PipelineClassinputs:List[PipelineInput]callbacks:Optional[List[PipelineClass]]seed:Optional[str]=None