Trying to create a deployment per the instructions on https://docs.prefect.io/tutorials/deployments/, I was a bit confused by the sentence “and the name of the entrypoint flow function, separated by a colon.“. I thought it was possible to specify the name of the flow (given inside the decorator) after the colon, whereas you need to specify the name of the function that contains the main flow.
Perhaps the sentence should read something like “and the name of the function containing the main flow, separated by a colon.” 🙂
08/05/2022, 3:28 PM
If the name of the flow is not specified explicitly, the name of the function will be the name of the flow