uv(universe): package-context import fallback — runner imports as prod.clean_arch.violet.uv.*, bare import broke gate load
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user