Kyle
02/14/2025, 8:54 PMMarvin
02/14/2025, 8:54 PMpath/to/file.py:function_name
). This means you can adjust the entrypoint path in your deployment configuration to match the new organization of your repository.
2. Using prefect.yaml
: If you are using a prefect.yaml
file for your deployment configurations, you can update the entrypoint
field within this file to reflect the new paths after reorganization. This allows you to redeploy without deleting existing deployments.
3. Module Path Entrypoints: Prefect also supports specifying entrypoints in the form of path.to.module.function_name
, which can be useful if your flows are part of a Python package. This can be set using the entrypoint_type
in your deployment configuration.
For more details, you can refer to the Prefect documentation here:
- Prefect Deployment Entrypoints
Additionally, there are no current issues in the Prefect GitHub repository that indicate problems with editing deployment entrypoints, so you should be able to make these changes smoothly.
If you need further assistance, feel free to ask!Nate
02/14/2025, 8:56 PM