salmon-exabyte-11054
06/15/2023, 4:08 PM--with parameters that I always want added when I call run to a flow….is there a recommended way to go about this? I potentially could modify sys.argv before the flow but that seems like it could have unexpected consequences.salmon-exabyte-11054
06/15/2023, 4:08 PMif __name__ == "__main__":
# add in my always expected `with` params
MyJob()victorious-lawyer-58417
06/15/2023, 5:52 PMMETAFLOW_DECOSPECS which works as --with behind the scenes.
E.g.
METAFLOW_DECOSPECS=retry:times=0
is equivalent to
--with retry:times=0
which is equivalent to
@retry(times=0)
in the code