From da61c8f6c299968bd3b03c1ce5d29cc541924563 Mon Sep 17 00:00:00 2001 From: Codex Date: Sat, 11 Jul 2026 23:57:15 +0200 Subject: [PATCH] =?UTF-8?q?uv(universe):=20package-context=20import=20fall?= =?UTF-8?q?back=20=E2=80=94=20runner=20imports=20as=20prod.clean=5Farch.vi?= =?UTF-8?q?olet.uv.*,=20bare=20import=20broke=20gate=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prod/clean_arch/violet/uv/uv_asset_universe.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/prod/clean_arch/violet/uv/uv_asset_universe.py b/prod/clean_arch/violet/uv/uv_asset_universe.py index b623d75..b958d14 100644 --- a/prod/clean_arch/violet/uv/uv_asset_universe.py +++ b/prod/clean_arch/violet/uv/uv_asset_universe.py @@ -42,7 +42,11 @@ from malkhut.assets.directory import ( # noqa: E402 normalize_symbol, ) -from uv_anomaly_sentinel import CHQuerier, CH_DB_UV, VST_BASE_URL # noqa: E402 +try: # package context (runner) vs script context (CLI/tests) + from prod.clean_arch.violet.uv.uv_anomaly_sentinel import ( # noqa: E402 + CHQuerier, CH_DB_UV, VST_BASE_URL) +except ImportError: + from uv_anomaly_sentinel import CHQuerier, CH_DB_UV, VST_BASE_URL # noqa: E402 FEED_SOURCE = "dolphin_ng7_scan_feed" PROBE_SOURCE = "vst_contracts_probe"