Initial: fingerprint DB + Takeout fetch + ingest flows

This commit is contained in:
2026-08-07 20:41:32 +10:00
commit 16123d00f1
10 changed files with 614 additions and 0 deletions

18
photo_pipeline_hello.py Normal file
View File

@@ -0,0 +1,18 @@
"""photo-pipeline: first real flow (skeleton).
Prefect 3.8 local pattern: flow.serve() registers the deployment and
runs scheduled work. For the pilot this is the supported, storage-free path.
"""
from prefect import flow
@flow(name="photo-pipeline-hello")
def hello_pipeline():
print("photo-pipeline flow alive on .13")
return "ok"
if __name__ == "__main__":
# serve() keeps this process alive, polls for scheduled runs
hello_pipeline.serve(name="hello", cron="*/5 * * * *", tags=["photo-pipeline"])