MCPcopy
hub / github.com/PrefectHQ/prefect / externally_suspended_flow

Function externally_suspended_flow

integration-tests/test_flow_suspension.py:33–37  ·  view source on GitHub ↗
(marker_dir: str)

Source from the content-addressed store, hash-verified

31
32@flow(log_prints=True, persist_result=True)
33def externally_suspended_flow(marker_dir: str) -> None:
34 Path(marker_dir, STARTED_MARKER).write_text("started")
35 for index in range(TASK_COUNT):
36 write_task_marker(marker_dir, index)
37 Path(marker_dir, COMPLETED_MARKER).write_text("completed")
38
39
40def _worker_output(log_path: Path) -> str:

Callers

nothing calls this directly

Calls 2

write_task_markerFunction · 0.85
write_textMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…