Skip to content

Commit 1b9d0af

Browse files
committed
print trigger and scenario run ids when you have them
don't wait until the run is done
1 parent 5548510 commit 1b9d0af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dataikuapi/dss/scenario.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def run_and_wait(self, params={}, no_fail=False):
7070
raise DataikuException("Scenario run has been cancelled")
7171
scenario_run = trigger_fire.get_scenario_run()
7272
time.sleep(5)
73+
print("Scenario (ID: '%s') run started " % scenario_run.run.get('runId', 'not found'))
7374
while not scenario_run.run.get('result', False):
7475
scenario_run = trigger_fire.get_scenario_run()
7576
time.sleep(5)

0 commit comments

Comments
 (0)