Tom Forbes
06/15/2021, 5:16 PMflow.run() is it possible to override the result class/type? Doing:
flow.run(result=LocalResult(...))
fails with:
TypeError: run() got an unexpected keyword argument 'result'Kevin Kho
if name == main 😅 would overwrite.Tom Forbes
06/15/2021, 5:26 PMif __name__ == "__main__":
flow.run(result=local_storage())Tom Forbes
06/15/2021, 5:27 PMKevin Kho
if __name__ == "__main__":
flow.result = local_storage()
flow.run()Tom Forbes
06/15/2021, 5:29 PM