fix(recovery): restore source removed by production documentation merge

This commit is contained in:
2026-11-10 03:42:10 +01:00
parent 585bdd4b44
commit 3d2fc6f913
957 changed files with 115754 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
"""
Worker entrypoint. In production this drains a queue of order jobs and runs the
compliant pipeline. For now it exposes a CLI to run a single job locally.
python -m workers.run <order_id>
"""
from __future__ import annotations
import asyncio
import sys
from workers.pipeline import run_job
async def _main() -> None:
order_id = sys.argv[1] if len(sys.argv) > 1 else "demo"
result = await run_job(order_id, {"markets": ["NO", "GB"], "confidence": 90})
print(result["metrics"])
if __name__ == "__main__":
asyncio.run(_main())