File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ def watch(self):
189189 Watch DataFlow Run from OCID.
190190 """
191191 run_id = self .config ["execution" ]["run_id" ]
192- interval = self .config ["execution" ][ "interval" ]
192+ interval = self .config ["execution" ]. get ( "interval" )
193193 with AuthContext (auth = self .auth_type , profile = self .profile ):
194194 run = DataFlowRun .from_ocid (run_id )
195195 run .watch (interval = interval )
Original file line number Diff line number Diff line change @@ -227,8 +227,8 @@ def watch(self):
227227 Watch Job Run from OCID.
228228 """
229229 run_id = self .config ["execution" ]["run_id" ]
230- interval = self .config ["execution" ][ "interval" ]
231- wait = self .config ["execution" ][ "wait" ]
230+ interval = self .config ["execution" ]. get ( "interval" )
231+ wait = self .config ["execution" ]. get ( "wait" )
232232 with AuthContext (auth = self .auth_type , profile = self .profile ):
233233 run = DataScienceJobRun .from_ocid (run_id )
234234 run .watch (interval = interval , wait = wait )
Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ def watch(self) -> None:
9090 Watch Pipeline Run from OCID.
9191 """
9292 run_id = self .config ["execution" ]["run_id" ]
93- log_type = self .config ["execution" ][ "log_type" ]
94- interval = self .config ["execution" ][ "interval" ]
93+ log_type = self .config ["execution" ]. get ( "log_type" )
94+ interval = self .config ["execution" ]. get ( "interval" )
9595 with AuthContext (auth = self .auth_type , profile = self .profile ):
9696 PipelineRun .from_ocid (run_id ).watch (
9797 interval = interval ,
You can’t perform that action at this time.
0 commit comments