Matt Alhonte
10/22/2021, 11:17 PMif notebook_name in list_of_notebooks:
run_notebook(notebook_name)
else:
print("skipped")
How do I do that with the StartFlowRun
task? Should I subclass it and replace the existing .run()
method?Kevin Kho
StartFlowRun
call if it fulfills the condition.Matt Alhonte
10/22/2021, 11:29 PM.run()
fn to a different name (let's say .execute_flow
, and then have the new .run()
as something like if notebook_name in list_of_notebooks: self.execute_flow()
?Kevin Kho
super.run()
to call the ShellTask run()