Skip to content

✨ Add support for dataclasses in request bodies and response_model#3577

Merged
tiangolo merged 3 commits intomasterfrom
dataclass-body
Jul 21, 2021
Merged

✨ Add support for dataclasses in request bodies and response_model#3577
tiangolo merged 3 commits intomasterfrom
dataclass-body

Conversation

@tiangolo
Copy link
Copy Markdown
Member

✨ Add support for dataclasses in request bodies and response_model.

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 21, 2021

Codecov Report

Merging #3577 (6177cc1) into master (75d8a6b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #3577   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          254       257    +3     
  Lines         7889      7934   +45     
=========================================
+ Hits          7889      7934   +45     
Impacted Files Coverage Δ
fastapi/dependencies/utils.py 100.00% <100.00%> (ø)
...test_tutorial/test_dataclasses/test_tutorial001.py 100.00% <100.00%> (ø)
...test_tutorial/test_dataclasses/test_tutorial002.py 100.00% <100.00%> (ø)
...test_tutorial/test_dataclasses/test_tutorial003.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 75d8a6b...6177cc1. Read the comment docs.

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot temporarily deployed to commit July 21, 2021 17:51 Inactive
@github-actions
Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 6177cc1 at: https://60f85eac1164f708d7191251--fastapi.netlify.app

@github-actions
Copy link
Copy Markdown
Contributor

📝 Docs preview for commit 6177cc1 at: https://60f85eac9b81240931100251--fastapi.netlify.app

@tiangolo tiangolo merged commit 684c007 into master Jul 21, 2021
@tiangolo tiangolo deleted the dataclass-body branch July 21, 2021 17:54
solomein-sv pushed a commit to solomein-sv/fastapi that referenced this pull request Jul 30, 2021
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.

1 participant