wallaroo.pipeline_version


class PipelineVersion(wallaroo.object.Object):

A specific version of a Pipeline. This usually reflects a change to the Pipeline Definition.

PipelineVersion( client: Union[wallaroo.client.Client, NoneType], data: Dict[str, Any])

Base constructor.

Each object requires:

  • a GraphQL client - in order to fill its missing members dynamically
  • an initial data blob - typically from unserialized JSON, contains at
  • least the data for required members (typically the object's primary key) and optionally other data members.
def id(self) -> int:
def create_time(*args, **kwargs):
def last_update_time(*args, **kwargs):
def name(*args, **kwargs):
def definition(*args, **kwargs):
def pipeline(*args, **kwargs):
def deployments(*args, **kwargs):
def model_configs(*args, **kwargs):
def publishes(*args, **kwargs):
def deploy( self, deployment_name: str, model_configs: List[wallaroo.model_config.ModelConfig], config: Union[wallaroo.deployment_config.DeploymentConfig, NoneType] = None) -> wallaroo.deployment.Deployment:

Deploys this PipelineVersion.

Parameters
  • str deployment_name: Name of the new Deployment. Must be unique across all deployments.
  • List[ModelConfig] model_configs: List of the configured models to use. These must be the same ModelConfigs used when creating the Pipeline.
  • Optional[DeploymentConfig] config: Deployment configuration to use.
Returns

A Deployment object for the resulting deployment.

def publish( self, deployment_config: Union[wallaroo.deployment_config.DeploymentConfig, NoneType] = None, replaces: Union[List[Union[int, wallaroo.pipeline_publish.PipelinePublish]], NoneType] = None):

Publish a pipeline version.

class PipelineVersionList(typing.List[wallaroo.pipeline_version.PipelineVersion]):

Wraps a list of pipeline versions for display in a display-aware environment like Jupyter.

Inherited Members
builtins.list
list
clear
copy
append
insert
extend
pop
remove
index
count
reverse
sort