Add compatibility shims at top-level to re-export SYS modules (pipeline/result_table/metadata/models/rich_display)

This commit is contained in:
2025-12-29 23:36:01 -08:00
parent ef01ca03a0
commit 4920ebf765
5 changed files with 56 additions and 0 deletions

14
pipeline.py Normal file
View File

@@ -0,0 +1,14 @@
"""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