Summarizer still runs the 15-min analyst, plus a 24h breaking-news recap at 23:00 America/New_York. HUD pins kind=daily_recap. Prompts ignore futures/market tape.
11 lines
322 B
Python
11 lines
322 B
Python
"""Keep summarizer unit tests importable without Postgres drivers."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import sys
|
|
from types import ModuleType
|
|
|
|
if "psycopg2" not in sys.modules:
|
|
fake = ModuleType("psycopg2")
|
|
fake.connect = lambda **kwargs: None # type: ignore[attr-defined]
|
|
sys.modules["psycopg2"] = fake
|