-
-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: 优化 pydantic 兼容函数 model_dump
和 type_validate_json
#2579
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2579 +/- ##
=======================================
Coverage 94.01% 94.01%
=======================================
Files 48 48
Lines 3909 3913 +4
=======================================
+ Hits 3675 3679 +4
Misses 234 234
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
🚀 Deployed on https://deploy-preview-2579--nonebot2.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__all__
没有修改,另外需要加一下测试用例在test compat里,确保兼容性能够正常执行
model_dump
增加 exclude_*
参数、添加 type_validate_json
函数model_dump
和 type_validate_json
No description provided.