- 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:
1 parent
79e8de124a
commit
be2e0857e4
5 files changed
+280
-75
No files matched your search
@@ -1,5 +1,6 @@
|
||||
from pydantic import BaseModel, Field, computed_field
|
||||
|
||||
|
||||
class AnimeCreate(BaseModel):
|
||||
anilist_id: int = Field(gt=0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user