-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Изменения Добавлены русские описания ошибок, возникающих при попытке печати файла. ## Реализации В хэндлеры добавлены новые поля с русским описанием ошибок. ## Детали В каждый хэндлер, в возвращаемый JSON добавлено поле 'ru', содержащее русское описание ошибки. ## Check-List - [x] Вы проверили свой код перед отправкой запроса? - [x] Вы написали тесты к реализованным функциям? - **НЕ ТРЕБУЕТСЯ** - [x] Вы не забыли применить black и isort? ***P.S. Проставьте x в квадратные скобки в нужных пунктах. Example: [x]***
- Loading branch information
Showing
3 changed files
with
91 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ class Config: | |
class StatusResponseModel(Base): | ||
status: str | ||
message: str | ||
ru: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters