Skip to content
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

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

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

tiangolo
Copy link
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
Copy link

codecov bot commented Aug 22, 2022

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
Contributor

@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
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.

None yet

1 participant