PipelineStepRun

class oci.data_science.models.PipelineStepRun(**kwargs)

Bases: object

Detail of each StepRun.

Attributes

LIFECYCLE_STATE_ACCEPTED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_CANCELED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_CANCELING A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_SKIPPED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a PipelineStepRun.
LIFECYCLE_STATE_WAITING A constant which can be used with the lifecycle_state property of a PipelineStepRun.
STEP_TYPE_CUSTOM_SCRIPT A constant which can be used with the step_type property of a PipelineStepRun.
STEP_TYPE_ML_JOB A constant which can be used with the step_type property of a PipelineStepRun.
lifecycle_details Gets the lifecycle_details of this PipelineStepRun.
lifecycle_state Gets the lifecycle_state of this PipelineStepRun.
step_name [Required] Gets the step_name of this PipelineStepRun.
step_type [Required] Gets the step_type of this PipelineStepRun.
time_finished Gets the time_finished of this PipelineStepRun.
time_started [Required] Gets the time_started of this PipelineStepRun.

Methods

__init__(**kwargs) Initializes a new PipelineStepRun object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “ACCEPTED”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “CANCELING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “DELETED”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “FAILED”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “IN_PROGRESS”

LIFECYCLE_STATE_SKIPPED = 'SKIPPED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “SKIPPED”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a PipelineStepRun. This constant has a value of “WAITING”

STEP_TYPE_CUSTOM_SCRIPT = 'CUSTOM_SCRIPT'

A constant which can be used with the step_type property of a PipelineStepRun. This constant has a value of “CUSTOM_SCRIPT”

STEP_TYPE_ML_JOB = 'ML_JOB'

A constant which can be used with the step_type property of a PipelineStepRun. This constant has a value of “ML_JOB”

__init__(**kwargs)

Initializes a new PipelineStepRun object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • step_type (str) – The value to assign to the step_type property of this PipelineStepRun. Allowed values for this property are: “ML_JOB”, “CUSTOM_SCRIPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_started (datetime) – The value to assign to the time_started property of this PipelineStepRun.
  • time_finished (datetime) – The value to assign to the time_finished property of this PipelineStepRun.
  • step_name (str) – The value to assign to the step_name property of this PipelineStepRun.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PipelineStepRun. Allowed values for this property are: “WAITING”, “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “DELETED”, “SKIPPED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this PipelineStepRun.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

lifecycle_details

Gets the lifecycle_details of this PipelineStepRun. Details of the state of the step run.

Returns:The lifecycle_details of this PipelineStepRun.
Return type:str
lifecycle_state

Gets the lifecycle_state of this PipelineStepRun. The state of the step run.

Allowed values for this property are: “WAITING”, “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “DELETED”, “SKIPPED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this PipelineStepRun.
Return type:str
step_name

[Required] Gets the step_name of this PipelineStepRun. The name of the step.

Returns:The step_name of this PipelineStepRun.
Return type:str
step_type

[Required] Gets the step_type of this PipelineStepRun. The type of step.

Allowed values for this property are: “ML_JOB”, “CUSTOM_SCRIPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The step_type of this PipelineStepRun.
Return type:str
time_finished

Gets the time_finished of this PipelineStepRun. The date and time the pipeline step run finshed executing in the timestamp format defined by RFC3339.

Returns:The time_finished of this PipelineStepRun.
Return type:datetime
time_started

[Required] Gets the time_started of this PipelineStepRun. The date and time the pipeline step run was started in the timestamp format defined by RFC3339.

Returns:The time_started of this PipelineStepRun.
Return type:datetime