PipelineMLJobStepDetails¶
- class oci.data_science.models.PipelineMLJobStepDetails(**kwargs)¶
Bases:
PipelineStepDetailsThe type of step where the job is pre-created by the user.
Attributes:
A constant which can be used with the step_type property of a PipelineStepDetails.
A constant which can be used with the step_type property of a PipelineStepDetails.
A constant which can be used with the step_type property of a PipelineStepDetails.
A constant which can be used with the step_type property of a PipelineStepDetails.
Gets the depends_on of this PipelineStepDetails.
Gets the description of this PipelineStepDetails.
[Required] Gets the job_id of this PipelineMLJobStepDetails.
Gets the step_configuration_details of this PipelineStepDetails.
[Required] Gets the step_name of this PipelineStepDetails.
Gets the step_parameters of this PipelineMLJobStepDetails.
Gets the step_run_name of this PipelineMLJobStepDetails.
[Required] Gets the step_type of this PipelineStepDetails.
Methods:
__init__(**kwargs)Initializes a new PipelineMLJobStepDetails 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_CONTAINER = 'CONTAINER'¶
A constant which can be used with the step_type property of a PipelineStepDetails. This constant has a value of “CONTAINER”
- 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_DATAFLOW = 'DATAFLOW'¶
A constant which can be used with the step_type property of a PipelineStepDetails. This constant has a value of “DATAFLOW”
- 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 PipelineMLJobStepDetails object with values from keyword arguments. The default value of the
step_typeattribute of this class isML_JOBand 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 PipelineMLJobStepDetails. Allowed values for this property are: “ML_JOB”, “CUSTOM_SCRIPT”, “CONTAINER”, “DATAFLOW”
step_name (str) – The value to assign to the step_name property of this PipelineMLJobStepDetails.
description (str) – The value to assign to the description property of this PipelineMLJobStepDetails.
depends_on (list[str]) – The value to assign to the depends_on property of this PipelineMLJobStepDetails.
step_configuration_details (oci.data_science.models.PipelineStepConfigurationDetails) – The value to assign to the step_configuration_details property of this PipelineMLJobStepDetails.
job_id (str) – The value to assign to the job_id property of this PipelineMLJobStepDetails.
step_run_name (str) – The value to assign to the step_run_name property of this PipelineMLJobStepDetails.
step_parameters (oci.data_science.models.PipelineStepParameterDetails) – The value to assign to the step_parameters property of this PipelineMLJobStepDetails.
- property 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]
- property 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.
- property job_id¶
[Required] Gets the job_id of this PipelineMLJobStepDetails. The OCID of the job to be used as a step.
- Returns
The job_id of this PipelineMLJobStepDetails.
- Return type
str
- property step_configuration_details¶
Gets the step_configuration_details of this PipelineStepDetails.
- Returns
The step_configuration_details of this PipelineStepDetails.
- Return type
- property 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
- property step_parameters¶
Gets the step_parameters of this PipelineMLJobStepDetails.
- Returns
The step_parameters of this PipelineMLJobStepDetails.
- Return type
- property step_run_name¶
Gets the step_run_name of this PipelineMLJobStepDetails. Name used when creating the steprun.
- Returns
The step_run_name of this PipelineMLJobStepDetails.
- Return type
str
- property step_type¶
[Required] Gets the step_type of this PipelineStepDetails. The type of step.
Allowed values for this property are: “ML_JOB”, “CUSTOM_SCRIPT”, “CONTAINER”, “DATAFLOW”, ‘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