Join Slack
Powered by
<@ULVA73B9P> can you link me to the sync engine en...
# ask-marvin
n
Nate
12/05/2025, 4:40 PM
@Marvin
can you link me to the sync engine entrypoint?
m
Marvin
12/05/2025, 4:40 PM
✅ thought for 63.8 seconds
Marvin
12/05/2025, 4:41 PM
Assuming Prefect 3.x, here are the key sync engine entrypoints: - Executable entrypoint (when a flow run is launched):
src/prefect/engine.py
-
main
block:
engine.py (main)
- Signal handling:
handle_engine_signals()
- Core sync engine and dispatcher:
src/prefect/flow_engine.py
- Dispatcher:
run_flow()
- Sync runner:
run_flow_sync()
- Sync engine class:
FlowRunEngine
- Subprocess entry (used by task runners):
run_flow_in_subprocess()
Open in Slack
Previous
Next