harbor run -t openthoughts/tasktrove-mix-h1-struggle-zone-v2-mix-h1-struggle-zone-0773harbor download openthoughts/tasktrove-mix-h1-struggle-zone-v2-mix-h1-struggle-zone-0773Task: Implement a minimal, self-contained Prefect-like API in /app/prefect.py
Purpose
Location
What to implement (API surface and behavior)
Signature:
Behavior:
Signature:
Behavior:
Implementation constraints
Usage examples (to illustrate intended behavior)
Wrapping a function as a Task:
Creating and running a Flow:
Using the task decorator directly:
Simple flow decorator usage:
Notes