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: Optional[wallaroo.client.Client], 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
deploy( self, deployment_name: str, model_configs: List[wallaroo.model_config.ModelConfig], config: Optional[wallaroo.deployment_config.DeploymentConfig] = None, wait_for_status: Optional[bool] = True) -> Optional[wallaroo.deployment.Deployment]:
Deploys this PipelineVersion.
Parameters
- deployment_name: Name of the new Deployment. Must be unique across all deployments.
- model_configs: List of the configured models to use. These must be the same ModelConfigs used when creating the Pipeline.
- config: Deployment configuration to use.
- wait_for_status: If set to False, will not wait for deployment status. If set to True, will wait for deployment status to be running or encountered an error. Default is True.
Returns
A Deployment object for the resulting deployment.
def
publish( self, deployment_config: Optional[wallaroo.deployment_config.DeploymentConfig] = None, replaces: Optional[List[Union[int, wallaroo.pipeline_publish.PipelinePublish]]] = 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