PipelineCustomScriptStepRun

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

Bases: oci.data_science.models.pipeline_step_run.PipelineStepRun

Detail of each CustomScriptStepRun.

Attributes

LIFECYCLE_STATE_ACCEPTED str(object=’’) -> str
LIFECYCLE_STATE_CANCELED str(object=’’) -> str
LIFECYCLE_STATE_CANCELING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_IN_PROGRESS str(object=’’) -> str
LIFECYCLE_STATE_SKIPPED str(object=’’) -> str
LIFECYCLE_STATE_SUCCEEDED str(object=’’) -> str
LIFECYCLE_STATE_WAITING str(object=’’) -> str
STEP_TYPE_CONTAINER str(object=’’) -> str
STEP_TYPE_CUSTOM_SCRIPT str(object=’’) -> str
STEP_TYPE_ML_JOB str(object=’’) -> str
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 PipelineCustomScriptStepRun 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'
LIFECYCLE_STATE_CANCELED = 'CANCELED'
LIFECYCLE_STATE_CANCELING = 'CANCELING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'
LIFECYCLE_STATE_SKIPPED = 'SKIPPED'
LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'
LIFECYCLE_STATE_WAITING = 'WAITING'
STEP_TYPE_CONTAINER = 'CONTAINER'
STEP_TYPE_CUSTOM_SCRIPT = 'CUSTOM_SCRIPT'
STEP_TYPE_ML_JOB = 'ML_JOB'
__init__(**kwargs)

Initializes a new PipelineCustomScriptStepRun object with values from keyword arguments. The default value of the step_type attribute of this class is CUSTOM_SCRIPT and it should not be changed. 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 PipelineCustomScriptStepRun. Allowed values for this property are: “ML_JOB”, “CUSTOM_SCRIPT”, “CONTAINER”
  • time_started (datetime) – The value to assign to the time_started property of this PipelineCustomScriptStepRun.
  • time_finished (datetime) – The value to assign to the time_finished property of this PipelineCustomScriptStepRun.
  • step_name (str) – The value to assign to the step_name property of this PipelineCustomScriptStepRun.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PipelineCustomScriptStepRun. Allowed values for this property are: “WAITING”, “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, “DELETED”, “SKIPPED”
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this PipelineCustomScriptStepRun.
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”, “CONTAINER”, ‘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