trading/shared/schemas
Viktor Barzin 8a412e6ae9 fix(schemas): use enum types as field types + enforce symbol length
- Replace all Literal[...] type annotations with corresponding enum classes
  (TickerAction, TimeHorizon, MarketOutlook, VideoStatus, TranscriptSource)
  for MeetKevinTickerMention, MeetKevinAnalysis, and API response models
  (VideoSummary, VideoDetail, StockMention, StockSummary, TimelineBucket)
- Add min_length=1, max_length=10 validation to MeetKevinTickerMention.symbol
- Split test_conviction_edge_cases into two separate boundary tests
- Strengthen test_valid_ticker_mention with assertions for all 6 fields
- Trim no-information docstrings from TranscriptSegment, StockTimeline
- All 60 schema tests pass
2026-05-21 19:15:59 +00:00
..
__init__.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
auth.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
learning.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
meet_kevin.py fix(schemas): use enum types as field types + enforce symbol length 2026-05-21 19:15:59 +00:00
news.py feat: pydantic schemas for all service message types 2026-02-22 15:19:00 +00:00
trading.py fix: resolve all remaining TODOs, add dev mode auth bypass 2026-02-25 22:02:25 +00:00