ForcePilot/backend/package/yuxi/scheduler/adapters/__init__.py
Kris 41bd0a618c refactor: 统一将日志方法从 warn 改为 warning
将代码库中所有使用 logger.warn 的地方替换为标准的 logger.warning,对齐日志方法命名规范,修复多处测试和业务代码中的方法调用不匹配问题。
2026-07-13 17:32:29 +08:00

13 lines
566 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""adapters 适配器层:实现 core 端口,隔离基础设施细节。
本包是 scheduler 限界上下文的适配器层,对齐 ``external_systems/adapters/``
的分层结构。当前仅包含 ``persistence`` 子包SQLAlchemy 仓储适配器),
事务管理已迁移至共享 ``yuxi.storage.transactions`` 基础设施,后续可按需扩展
``messaging`` 等其他适配器。
依赖方向:依赖 ``core`` 端口与 ``repositories`` / ``storage`` 基础设施,
不依赖 ``use_cases`` / ``framework``。
"""
from __future__ import annotations