Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Fix exclude_unset and aliases in response model validation.#1074

Merged
tiangolo merged 2 commits intomasterfrom
unknown repository
Mar 27, 2020
Merged

Fix exclude_unset and aliases in response model validation.#1074
tiangolo merged 2 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

Should fix both#1043 and#1063, but might come with some performance penalty since unnecessary serialization is being done. Better solutions that pass the given tests are more than welcome, but I don't see a much better way other than recursion in cases where there are models inside basic data structures like lists and dicts.

@codecov
Copy link

codecovbot commentedMar 3, 2020
edited
Loading

Codecov Report

Merging#1074 intomaster willnot change coverage by%.
The diff coverage is100.00%.

Impacted file tree graph

@@             Coverage Diff             @@##            master     #1074     +/-   ##===========================================  Coverage   100.00%   100.00%             ===========================================  Files          331       223    -108       Lines         8085      6642   -1443     ===========================================- Hits          8085      6642   -1443
Impacted FilesCoverage Δ
fastapi/routing.py100.00% <100.00%> (ø)
tests/test_serialize_response_model.py100.00% <100.00%> (ø)
docs/src/bigger_applications/app/routers/users.py
docs/src/custom_response/tutorial006.py
docs/src/sql_databases/sql_app/database.py
...cs/src/query_params_str_validations/tutorial012.py
...th_operation_advanced_configuration/tutorial001.py
docs/src/extra_models/tutorial005.py
docs/src/additional_responses/tutorial001.py
docs/src/extending_openapi/tutorial001.py
... and102 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update025b38d...1d2b874. Read thecomment docs.

@tiangolotiangolo merged commitaea04ee intofastapi:masterMar 27, 2020
@tiangolo
Copy link
Member

Excellent job @juhovh-aiven ! 👏 🤓

Thanks for your contribution! 🍰 🚀

And thanks@Kilo59 for the review 🤓 🕵️‍♂️ 🔍

shuvozula reacted with thumbs up emojishuvozula reacted with hooray emojishuvozula reacted with heart emojishuvozula reacted with rocket emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tiangolo@Kilo59

[8]ページ先頭

©2009-2026 Movatter.jp