refactor(types): expose TMDb exception identity explicitly

This commit is contained in:
jxxghp
2026-10-16 23:37:03 +08:00
parent 091ebdf28a
commit f3f69911ef
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# TMDbException 是跨层异常契约,定义在 schemas 层,供链层与API层捕获;
# 模块内部沿用原导入路径,保持类身份一致
from app.schemas.exception import TMDbException # noqa: F401
from app.schemas.exception import TMDbException as TMDbException
class TMDbConnectionError(TMDbException):

View File

@@ -32,6 +32,8 @@ files =
app/adapters/system/resource.py,
app/agent/contracts.py,
app/modules/dingtalk/dingtalk.py,
app/schemas/exception.py,
app/modules/themoviedb/tmdbv3api/exceptions.py,
app/runtime/correlation.py,
app/runtime/coalesce.py,
app/runtime/execution.py,