PipelineStep

step of a pipeline.

Attributes

NameTypeDescription
step_iduuid.UUIDid of pipeline step.
step_typeStepTypestep type.
configstep configuration; request, script_config, model_config, ...
inputslist of wizata_dsapi.PipelineIO
outputslist of wizata_dsapi.PipelineIO

Methods

api_id()

return current object id on Web API format.

endpoint()

return endpoint name used to contact backend.

from_json()

load the object from a dict originating of a JSON format.

NameTypeDefaultDescription
objobject to load information from.

get_input()

get input dict based on value name.

NameTypeDefaultDescription
namestrvalue name to find.

return: input dict

get_inputs()

get list of inputs, verified and transformed as PipelineIO

return: list of PipelineIO

get_output()

get output dict based on value name.

NameTypeDefaultDescription
namestrvalue name to find.

return: input dict

get_outputs()

get list of inputs, verified and transformed as PipelineIO

return: list of PipelineIO

get_unique_input()

verify pipeline step as only one input and returns it, raise an error otherwise.

get_unique_output()

verify pipeline step as only one output and returns it, raise an error otherwise.

inputs_names()

get a list str representing inputs names

NameTypeDefaultDescription
f_typestrNonefilter on a type

return: list str

outputs_names()

get a list str representing outputs names

NameTypeDefaultDescription
f_typestrNonefilter on a type

return: list str

set_id()

specify the id_value neutrally

NameTypeDefaultDescription
id_value

return:

to_json()

transform current object into a dict that could be JSONIFY.

NameTypeDefaultDescription
targetstrNone

return: dumpable dict.