candle-annotator/services/ml/app
Marko Djordjevic 399e760fa5 Add X-User-ID header extraction to FastAPI service.
Create a get_user_id() dependency that extracts the X-User-ID header
from incoming requests, making it available to route handlers.
The dependency is optional (not enforced) — callers decide whether
to use it or require it on specific routes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 13:44:02 +01:00
..
__init__.py feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
annotation_ingestion.py fix(training): use selected chart and include TA-Lib span sources 2026-02-18 23:21:23 +01:00
config.py feat(ml): add database schema, config parser, and DVC setup 2026-02-15 12:08:53 +01:00
data_access.py fix(training): use selected chart and include TA-Lib span sources 2026-02-18 23:21:23 +01:00
db.py code-review-fix task 15.2: replace declarative_base() with class Base(DeclarativeBase) in db.py 2026-02-18 20:57:37 +01:00
main.py Add X-User-ID header extraction to FastAPI service. 2026-02-20 13:44:02 +01:00
patterns.py feat: add FastAPI pattern detection endpoints (Section 1) 2026-02-17 18:34:14 +01:00
preprocessing.py Fix inference feature mismatch with training metadata 2026-02-18 23:53:38 +01:00