chore: small codebase improvements

This commit is contained in:
ITQ
2025-01-25 20:35:52 +03:00
parent ec7d5d2d0a
commit 974bb1acb4
4 changed files with 21 additions and 19 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
from http import HTTPStatus as status
from typing import Any
from ninja import Schema
@@ -11,9 +12,9 @@ class NotFoundError(Schema):
detail: str = status.NOT_FOUND.phrase
class ValidationError(Schema):
detail: str
class BadRequestError(Schema):
detail: Any
class UniqueConstraintError(Schema):
detail: str
detail: Any