Nicholas
06/30/2023, 1:06 PMflow_run_name
in a flow decorator. With:
@flow(
name="Test",
flow_run_name="{settings.incremental_run_name}",
)
def test_flow(
settings: Settings,
):
...
The flow still has a random nameclass Settings(BaseSettings):
some_input: str
@property
def incremental_run_name(self):
now = datetime.now(timezone.utc).strftime("%Y%m%d%H%M%S")
return f"{now}-{self.some_input}"