abacusai.pipeline_version
Classes
A version of a pipeline. |
Module Contents
- class abacusai.pipeline_version.PipelineVersion(client, pipelineName=None, pipelineId=None, pipelineVersion=None, createdAt=None, updatedAt=None, completedAt=None, status=None, error=None, stepVersions={}, codeSource={}, pipelineVariableMappings={})
Bases:
abacusai.return_class.AbstractApiClass
A version of a pipeline.
- Parameters:
client (ApiClient) – An authenticated API Client instance
pipelineName (str) – The name of the pipeline this step is a part of.
pipelineId (str) – The reference to the pipeline this step belongs to.
pipelineVersion (str) – The reference to this pipeline version.
createdAt (str) – The date and time which this pipeline version was created.
updatedAt (str) – The date and time which this pipeline version was updated.
completedAt (str) – The date and time which this pipeline version was updated.
status (str) – The status of the pipeline version.
error (str) – The relevant error, if the status is FAILED.
stepVersions (PipelineStepVersion) – A list of the pipeline step versions.
codeSource (CodeSource) – information on the source code
pipelineVariableMappings (PythonFunctionArgument) – A description of the function variables into the pipeline.
- pipeline_name
- pipeline_id
- pipeline_version
- created_at
- updated_at
- completed_at
- status
- error
- step_versions
- code_source
- pipeline_variable_mappings
- deprecated_keys
- __repr__()
- to_dict()
Get a dict representation of the parameters in this class
- Returns:
The dict value representation of the class parameters
- Return type:
- refresh()
Calls describe and refreshes the current object’s fields
- Returns:
The current object
- Return type:
- describe()
Describes a specified pipeline version
- Parameters:
pipeline_version (str) – Unique string identifier for the pipeline version
- Returns:
Object describing the pipeline version
- Return type:
- reset(steps=None, include_downstream_steps=True)
Reruns a pipeline version for the given steps and downstream steps if specified.
- Parameters:
- Returns:
Object describing the pipeline version
- Return type:
- list_logs()
Gets the logs for the steps in a given pipeline version.
- Parameters:
pipeline_version (str) – The id of the pipeline version.
- Returns:
Object describing the logs for the steps in the pipeline.
- Return type:
- skip_pending_steps()
Skips pending steps in a pipeline version.
- Parameters:
pipeline_version (str) – The id of the pipeline version.
- Returns:
Object describing the pipeline version
- Return type: