Kyle McChesney
07/08/2026, 6:16 PM<http://my_module.my|my_module.my>_<http://flow.my|flow.my>_func for the deployment entrypoint field?Marvin
07/08/2026, 6:16 PMMarvin
07/08/2026, 6:18 PMentrypoint was added in Prefect 3.6.23.
So this is supported:
yaml
entrypoint: my_module.my_flow_func
in addition to the older file-based form:
yaml
entrypoint: path/to/file.py:my_flow_func
A couple of important notes:
- Prefect distinguishes the formats by separator:
- : => file path entrypoint
- no : => module path entrypoint
- For module-path entrypoints, the module must be importable in the runtime environment.
Relevant docs:
- Deployments concepts
- prefect.yaml deployment guide
If you want, I can also help confirm whether your exact string should be:
my_module.my_flow_func
or
my_package.my_module:my_flow_func
depending on how your code is laid out.