PipelineStepDetails

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

Bases: object

A step in the pipeline.

Attributes

STEP_TYPE_CUSTOM_SCRIPT A constant which can be used with the step_type property of a PipelineStepDetails.
STEP_TYPE_ML_JOB A constant which can be used with the step_type property of a PipelineStepDetails.
depends_on Gets the depends_on of this PipelineStepDetails.
description Gets the description of this PipelineStepDetails.
step_configuration_details Gets the step_configuration_details of this PipelineStepDetails.
step_name [Required] Gets the step_name of this PipelineStepDetails.
step_type [Required] Gets the step_type of this PipelineStepDetails.

Methods

__init__(**kwargs) Initializes a new PipelineStepDetails 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.
STEP_TYPE_CUSTOM_SCRIPT = 'CUSTOM_SCRIPT'

A constant which can be used with the step_type property of a PipelineStepDetails. 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 PipelineStepDetails. This constant has a value of “ML_JOB”

__init__(**kwargs)

Initializes a new PipelineStepDetails 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 PipelineStepDetails. 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’.
  • step_name (str) – The value to assign to the step_name property of this PipelineStepDetails.
  • description (str) – The value to assign to the description property of this PipelineStepDetails.
  • depends_on (list[str]) – The value to assign to the depends_on property of this PipelineStepDetails.
  • step_configuration_details (oci.data_science.models.PipelineStepConfigurationDetails) – The value to assign to the step_configuration_details property of this PipelineStepDetails.
depends_on

Gets the depends_on of this PipelineStepDetails. The list of step names this current step depends on for execution.

Returns:The depends_on of this PipelineStepDetails.
Return type:list[str]
description

Gets the description of this PipelineStepDetails. A short description of the step.

Returns:The description of this PipelineStepDetails.
Return type:str
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.

step_configuration_details

Gets the step_configuration_details of this PipelineStepDetails.

Returns:The step_configuration_details of this PipelineStepDetails.
Return type:oci.data_science.models.PipelineStepConfigurationDetails
step_name

[Required] Gets the step_name of this PipelineStepDetails. The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG.

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

[Required] Gets the step_type of this PipelineStepDetails. 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 PipelineStepDetails.
Return type:str