Skip to content

Exceptions fix + Pv2#12

Merged
Wudext merged 8 commits intomainfrom
Pydantic-v2
Aug 3, 2023
Merged

Exceptions fix + Pv2#12
Wudext merged 8 commits intomainfrom
Pydantic-v2

Conversation

@Wudext
Copy link
Copy Markdown
Contributor

@Wudext Wudext commented Jul 27, 2023

Изменения

Добавил поддержку pydantic 2.0

Реализации

Заменил устаревшие функции на новые

Детали

Добавил реализацию model_dict метода, добавил str ко всем get_settings(), пофиксил неправильный импорт исключений.

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям? - не требуется(support)
  • Вы не забыли применить black и isort?

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 27, 2023

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
file_converter
   __main__.py440%1–7
   exceptions.py12192%18
   schema.py220%1–4
file_converter/converters
   convert.py28196%25
   convertable.py19195%27
file_converter/routes
   base.py38392%41, 44, 53
   file.py26196%32
file_converter/utils
   libre.py331361%9–12, 24–28, 33–36
TOTAL2102688% 

Summary

Tests Skipped Failures Errors Time
6 0 💤 0 ❌ 0 🔥 5.508s ⏱️

@Wudext Wudext linked an issue Jul 27, 2023 that may be closed by this pull request
@Wudext Wudext requested a review from Temmmmmo July 31, 2023 14:58
Comment thread file_converter/routes/base.py Outdated
Comment thread file_converter/routes/file.py Outdated
Comment thread file_converter/routes/base.py Outdated
Comment thread file_converter/routes/file.py Outdated
Comment thread file_converter/routes/base.py Outdated
Comment thread file_converter/routes/file.py Outdated
Comment thread file_converter/routes/file.py
@Wudext Wudext merged commit f478f3d into main Aug 3, 2023
@Wudext Wudext deleted the Pydantic-v2 branch August 3, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Перейти на Pydantic v2 в converter-api

3 participants