Files
ewoooc/services/market_intel/__init__.py
OoO d504ddac51
All checks were successful
CD Pipeline / deploy (push) Successful in 1m22s
修復市場情報 writer CLI lazy import
2026-05-19 14:01:38 +08:00

18 lines
515 B
Python

"""跨平台市場情報服務模組。"""
__all__ = ["MarketIntelService", "MarketIntelRuntimeStatus"]
def __getattr__(name):
if name in __all__:
from services.market_intel.service import (
MarketIntelRuntimeStatus,
MarketIntelService,
)
return {
"MarketIntelService": MarketIntelService,
"MarketIntelRuntimeStatus": MarketIntelRuntimeStatus,
}[name]
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")