Skip to content

🎨 Update type annotations for response_model, allow things like Union[str, None] - #5294

Merged
tiangolo merged 1 commit into
masterfrom
response_model_types
Aug 22, 2022
Merged

tiangolo merged 1 commit into
masterfrom
response_model_types

Conversation

@tiangolo

Copy link
Copy Markdown
Member

🎨 Update type annotations for response_model, allow things like Union[str, None]

@tiangolo
tiangolo enabled auto-merge (squash) August 22, 2022 18:46
@codecov

codecov Bot commented Aug 22, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #5294 (d2d2e0f) into master (a6a39f3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master     #5294   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          533       533           
  Lines        13725     13725           
=========================================
  Hits         13725     13725           
Impacted Files Coverage Δ
fastapi/applications.py 100.00% <ø> (ø)
fastapi/routing.py 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://6303cf543f4db1179ae1b61f--fastapi.netlify.app

@github-actions
github-actions Bot temporarily deployed to pull request August 22, 2022 18:48 Inactive
@tiangolo
tiangolo merged commit e7b1b96 into master Aug 22, 2022
@tiangolo
tiangolo deleted the response_model_types branch August 22, 2022 18:49

This branch was previously deployed

1 inactive deployment
pull request — d2d2e0f9 Deployed Aug 22, 2022 by github-actions[bot]
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