Files
odysseus/routes/search_routes.py
T
Tal.Yuan 25a4d134b1 refactor(routes): move search domain into routes/search/ subpackage (#5779)
Slice 2j of the route-domain reorganization (#4082/#4071). Moves
search_routes.py into routes/search/, leaving a backward-compat
sys.modules shim. Pure file reorganization, no behavior change.
2026-07-28 22:26:29 +02:00

14 lines
476 B
Python

"""Backward-compat shim — canonical location is routes/search/search_routes.py.
This module is replaced in ``sys.modules`` by the canonical module object so
that ``import routes.search_routes`` and ``from routes.search_routes import X``
keep resolving to the canonical module. Keeps existing import paths working
after slice 2j (#4082/#4071).
"""
import sys as _sys
from routes.search import search_routes as _canonical # noqa: F401
_sys.modules[__name__] = _canonical