File tree Expand file tree Collapse file tree 6 files changed +11
-18
lines changed
ads/jobs/builders/infrastructure Expand file tree Collapse file tree 6 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -1481,20 +1481,13 @@ def init(self) -> DataScienceJob:
1481
1481
DataScienceJob
1482
1482
The DataScienceJob instance (self)
1483
1483
"""
1484
- (
1484
+ return (
1485
1485
self .build ()
1486
1486
.with_compartment_id (self .compartment_id or "{Provide a compartment OCID}" )
1487
1487
.with_project_id (self .project_id or "{Provide a project OCID}" )
1488
+ .with_subnet_id (self .subnet_id or "{Provide a subnet OCID or remove this field if you use a default networking}" )
1488
1489
)
1489
1490
1490
- if self .job_infrastructure_type != "ME_STANDALONE" :
1491
- self .with_subnet_id (self .subnet_id or "{Provide a subnet OCID}" )
1492
- self .with_job_infrastructure_type (
1493
- self .job_infrastructure_type or "STANDALONE"
1494
- )
1495
-
1496
- return self
1497
-
1498
1491
def create (self , runtime , ** kwargs ) -> DataScienceJob :
1499
1492
"""Creates a job with runtime.
1500
1493
Original file line number Diff line number Diff line change 22
22
blockStorageSize : 50
23
23
compartmentId : ocid1.compartment.oc1..<unique_id>
24
24
projectId : ocid1.datascienceproject.oc1.<unique_id>
25
- subnetId : ' {Provide a subnet OCID}'
25
+ subnetId : ' {Provide a subnet OCID or remove this field if you use a default networking }'
26
26
name : pipeline_step_name_1
27
27
runtime :
28
28
kind : runtime
Original file line number Diff line number Diff line change 1
1
# This YAML specification was auto generated by the `ads opctl init` command.
2
2
# The more details about the jobs YAML specification can be found in the ADS documentation:
3
- # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
3
+ # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
4
4
5
5
6
6
kind : pipeline
22
22
blockStorageSize : 50
23
23
compartmentId : ocid1.compartment.oc1..<unique_id>
24
24
projectId : ocid1.datascienceproject.oc1.<unique_id>
25
- subnetId : ' {Provide a subnet OCID}'
25
+ subnetId : ' {Provide a subnet OCID or remove this field if you use a default networking }'
26
26
name : pipeline_step_name_1
27
27
runtime :
28
28
kind : runtime
Original file line number Diff line number Diff line change 1
1
# This YAML specification was auto generated by the `ads opctl init` command.
2
2
# The more details about the jobs YAML specification can be found in the ADS documentation:
3
- # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
3
+ # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
4
4
5
5
6
6
kind : pipeline
22
22
blockStorageSize : 50
23
23
compartmentId : ocid1.compartment.oc1..<unique_id>
24
24
projectId : ocid1.datascienceproject.oc1.<unique_id>
25
- subnetId : ' {Provide a subnet OCID}'
25
+ subnetId : ' {Provide a subnet OCID or remove this field if you use a default networking }'
26
26
name : pipeline_step_name_1
27
27
runtime :
28
28
kind : runtime
Original file line number Diff line number Diff line change 1
1
# This YAML specification was auto generated by the `ads opctl init` command.
2
2
# The more details about the jobs YAML specification can be found in the ADS documentation:
3
- # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
3
+ # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
4
4
5
5
6
6
kind : pipeline
22
22
blockStorageSize : 50
23
23
compartmentId : ocid1.compartment.oc1..<unique_id>
24
24
projectId : ocid1.datascienceproject.oc1.<unique_id>
25
- subnetId : ' {Provide a subnet OCID}'
25
+ subnetId : ' {Provide a subnet OCID or remove this field if you use a default networking }'
26
26
name : pipeline_step_name_1
27
27
runtime :
28
28
kind : runtime
Original file line number Diff line number Diff line change 1
1
# This YAML specification was auto generated by the `ads opctl init` command.
2
2
# The more details about the jobs YAML specification can be found in the ADS documentation:
3
- # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
3
+ # https://accelerated-data-science.readthedocs.io/en/latest/user_guide/pipeline/quick_start.html
4
4
5
5
6
6
kind : pipeline
22
22
blockStorageSize : 50
23
23
compartmentId : ocid1.compartment.oc1..<unique_id>
24
24
projectId : ocid1.datascienceproject.oc1.<unique_id>
25
- subnetId : ' {Provide a subnet OCID}'
25
+ subnetId : ' {Provide a subnet OCID or remove this field if you use a default networking }'
26
26
name : pipeline_step_name_1
27
27
runtime :
28
28
kind : runtime
You can’t perform that action at this time.
0 commit comments