15 lines
547 B
Python
15 lines
547 B
Python
"""Backwards-compatibility shim for top-level `pipeline` module.
|
|
|
|
The project moved core modules into the `SYS` package (e.g. `SYS.pipeline`).
|
|
Many third-party code and tests still import top-level names like `pipeline`.
|
|
This shim ensures `import pipeline` returns the `SYS.pipeline` module object.
|
|
"""
|
|
|
|
from importlib import import_module
|
|
import sys
|
|
|
|
# Import the real implementation and ensure subsequent imports of
|
|
# the top-level name point to the SYS package module object.
|
|
_real = import_module("SYS.pipeline")
|
|
sys.modules[__name__] = _real
|