- Moved Anilist errors to its own module and gave them status codes and messages that can propagate upstream

- Created exception handler to propagate erros
This commit is contained in:
florian committed 2026-11-04 13:02:53 +01:00
1 parent 79e8de124a
commit be2e0857e4
5 files changed
+280 -75

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
from pydantic import BaseModel, Field, computed_field
class AnimeCreate(BaseModel):
anilist_id: int = Field(gt=0)