Files
agent/tests/pipeline_setup_v3/fixtures/code_qa_repo/main.py
T
2026-03-27 15:51:10 +03:00

18 lines
444 B
Python

"""Entrypoint: runs the orders API. Uses src layout (package order_app under src/)."""
import sys
from pathlib import Path
# Add src to path so "order_app" is importable from repo root
_root = Path(__file__).resolve().parent
_src = _root / "src"
if str(_src) not in sys.path:
sys.path.insert(0, str(_src))
from order_app.api.orders import create_app
app = create_app()
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8000)