fix: keep api_server.py under the thin-assembler line budget

The options route registration pushed api_server.py to 403 lines, over
the <400 guard in test_api_server_is_thin_assembler. Normalize the
scheduled-routes banner to the file's one-line section-marker
convention to make room.

Signed-off-by: shadowinlife <shadowinlife@gmail.com>
This commit is contained in:
shadowinlife committed 2026-08-14 11:32:53 +08:00
1 parent dad36b50c8
commit cb56dd2d07
1 file changed
+1 -7
+1 -7
View File
@@ -296,13 +296,7 @@ register_auth_routes(app)
from src.openbb_bridge import try_register_openbb_routes # noqa: E402 # OPENBB-WORKSPACE-INTEGRATION
try_register_openbb_routes(app)
# ============================================================================
# Scheduled Research Routes - defined in src/api/scheduled_routes.py
# ============================================================================
# Job CRUD plus the playbook-template catalogue, all auth-gated. Handlers only
# record and expose jobs; execution is guarded by VIBE_TRADING_ENABLE_SCHEDULER.
# --- Scheduled research ---
from src.api.scheduled_routes import register_scheduled_routes # noqa: E402
register_scheduled_routes(app)