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
deploy( self, deployment_name: str, model_configs: List[wallaroo.model_config.ModelConfig], config: Union[wallaroo.deployment_config.DeploymentConfig, NoneType] = None, wait_for_status: Union[bool, NoneType] = True) -> Union[NoneType, 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: 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