mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-01 19:18:35 -04:00
25a4d134b1
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.
14 lines
476 B
Python
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
|