| 12345678910111213141516 |
- """
- plugin/module_payment - 延迟导入,避免模块级全量 import 触发生产依赖链。
- """
- import importlib
- _MODULES = ["employee", "enterprise", "expense", "notification", "points", "department", "openapi"]
- def __getattr__(name):
- if name in _MODULES:
- return importlib.import_module(f".{name}", __package__)
- raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
- def __dir__():
- return list(_MODULES)
|