""" YAZ Care Platform — Worker Entry Point ======================================= Docker-compose entry point: ``python3 -m src.workers.main`` Delegates to workers.worker which contains the full arq WorkerSettings. Usage:: # Docker (staging/prod profiles) python3 -m src.workers.main # Direct python -m workers.worker """ from __future__ import annotations import sys from pathlib import Path # Ensure src/ is importable when invoked as `python3 -m src.workers.main` _src = Path(__file__).resolve().parent.parent if str(_src) not in sys.path: sys.path.insert(0, str(_src)) if __name__ == "__main__": import runpy runpy.run_module("workers.worker", run_name="__main__", alter_sys=True)