RegisteredPipeline

class verta.pipeline.RegisteredPipeline(registered_model_version: RegisteredModelVersion, graph: PipelineGraph)

Object representing a version of a registered inference pipeline.

There should not be a need to instantiate this class directly; please use Client.create_registered_pipeline() for creating a new pipeline, or Client.get_registered_pipeline() for fetching an existing pipeline.

Note

Registered pipelines are immutable once registered with Verta. A new version must be created and registered with any desired changes. Use the copy_graph() function to create a local copy of this pipeline’s graph that can be modified and used to create the new version.

Variables:
  • name (str) – Name of this pipeline.

  • id (int) – ID of this Pipeline, auto-assigned by the Verta backend.

  • graph (PipelineGraph) – PipelineGraph object containing all possible steps in the Pipline.

copy_graph() PipelineGraph

Return a copy of the PipelineGraph object for this pipeline.

RegisteredPipeline objects are immutable once registered with Verta. This copy can be modified and used to create and register a new RegisteredPipeline.

Returns:

PipelineGraph – A deep copy of the PipelineGraph object for this pipeline.