Jeremy Hetzel
08/23/2023, 3:14 PMflow_name
state:
Deprecated: The name of a flow that has been registered in the `.prefect` directory. Either( https://docs.prefect.io/2.11.4/concepts/deployments/#deployment-declaration-reference ) However, in the source code, a deployment without aorflow_name
is required.entrypoint
flow_name
always raises a `ValueError`:
if not self.name or not self.flow_name:
raise ValueError("Both a deployment name and flow name must be set.")
( https://github.com/PrefectHQ/prefect/blob/2.11.4/src/prefect/deployments/deployments.py#L686 )
Am I misreading the documentation, or should this be raised as an issue on github?Serina
08/23/2023, 3:19 PMJeremy Hetzel
08/23/2023, 3:27 PMSerina
08/23/2023, 3:32 PM