Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi DSS Community,
with v11 bringing the following change to the Scenarios;
Propagate warnings from steps to the outcome of the scenario
my python script running outside of DSS which waits for a scenario to run is now halting on the return of a Warning result from the scenario, whereas before my scenarios would be successful.
scenario.run_and_wait() #returns error and halts code #dataikuapi.utils.DataikuException: Scenario run returned status WARNING
How do I ignore Warnings on my overall scenario result in order for my python script to continue?
I think it's very risky for you to ignore warnings. The best approach is to resolve the warnings so that the scenario completes as SUCCESS. If you don't care about warnings you can easily trap the exception and ignore the warning.