PipelineCustomScriptStepDetails¶
-
class
oci.data_science.models.PipelineCustomScriptStepDetails(**kwargs)¶ Bases:
oci.data_science.models.pipeline_step_details.PipelineStepDetailsThe type of step where user provides the step artifact to be executed on an execution engine managed by the pipelines service.
Attributes
STEP_TYPE_CONTAINERstr(object=’’) -> str STEP_TYPE_CUSTOM_SCRIPTstr(object=’’) -> str STEP_TYPE_DATAFLOWstr(object=’’) -> str STEP_TYPE_ML_JOBstr(object=’’) -> str depends_onGets the depends_on of this PipelineStepDetails. descriptionGets the description of this PipelineStepDetails. is_artifact_uploadedGets the is_artifact_uploaded of this PipelineCustomScriptStepDetails. step_configuration_detailsGets the step_configuration_details of this PipelineStepDetails. step_infrastructure_configuration_detailsGets the step_infrastructure_configuration_details of this PipelineCustomScriptStepDetails. step_name[Required] Gets the step_name of this PipelineStepDetails. step_parametersGets the step_parameters of this PipelineCustomScriptStepDetails. step_storage_mount_configuration_details_listGets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails. step_type[Required] Gets the step_type of this PipelineStepDetails. Methods
__init__(**kwargs)Initializes a new PipelineCustomScriptStepDetails 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'¶
-
STEP_TYPE_CUSTOM_SCRIPT= 'CUSTOM_SCRIPT'¶
-
STEP_TYPE_DATAFLOW= 'DATAFLOW'¶
-
STEP_TYPE_ML_JOB= 'ML_JOB'¶
-
__init__(**kwargs)¶ Initializes a new PipelineCustomScriptStepDetails object with values from keyword arguments. The default value of the
step_typeattribute of this class isCUSTOM_SCRIPTand 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 PipelineCustomScriptStepDetails. 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 PipelineCustomScriptStepDetails.
- description (str) – The value to assign to the description property of this PipelineCustomScriptStepDetails.
- depends_on (list[str]) – The value to assign to the depends_on property of this PipelineCustomScriptStepDetails.
- step_configuration_details (oci.data_science.models.PipelineStepConfigurationDetails) – The value to assign to the step_configuration_details property of this PipelineCustomScriptStepDetails.
- step_infrastructure_configuration_details (oci.data_science.models.PipelineInfrastructureConfigurationDetails) – The value to assign to the step_infrastructure_configuration_details property of this PipelineCustomScriptStepDetails.
- step_storage_mount_configuration_details_list (list[oci.data_science.models.StorageMountConfigurationDetails]) – The value to assign to the step_storage_mount_configuration_details_list property of this PipelineCustomScriptStepDetails.
- is_artifact_uploaded (bool) – The value to assign to the is_artifact_uploaded property of this PipelineCustomScriptStepDetails.
- step_parameters (oci.data_science.models.PipelineStepParameterDetails) – The value to assign to the step_parameters property of this PipelineCustomScriptStepDetails.
-
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.
-
is_artifact_uploaded¶ Gets the is_artifact_uploaded of this PipelineCustomScriptStepDetails. A flag to indicate whether the artifact has been uploaded for this step or not.
Returns: The is_artifact_uploaded of this PipelineCustomScriptStepDetails. Return type: bool
-
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_infrastructure_configuration_details¶ Gets the step_infrastructure_configuration_details of this PipelineCustomScriptStepDetails.
Returns: The step_infrastructure_configuration_details of this PipelineCustomScriptStepDetails. Return type: oci.data_science.models.PipelineInfrastructureConfigurationDetails
-
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_parameters¶ Gets the step_parameters of this PipelineCustomScriptStepDetails.
Returns: The step_parameters of this PipelineCustomScriptStepDetails. Return type: oci.data_science.models.PipelineStepParameterDetails
-
step_storage_mount_configuration_details_list¶ Gets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails. The storage mount details to mount to the instance running the pipeline step.
Returns: The step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails. Return type: list[oci.data_science.models.StorageMountConfigurationDetails]
-
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
-