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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix response_model type to allow List[Model] #266

Merged
merged 1 commit into from
May 27, 2019

Conversation

tiangolo
Copy link
Owner

馃悰 Fix response_model type to allow List[Model].

Mainly to fix mypy for users.

@codecov
Copy link

codecov bot commented May 27, 2019

Codecov Report

Merging #266 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #266   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         190    190           
  Lines        4649   4649           
=====================================
  Hits         4649   4649
Impacted Files Coverage 螖
fastapi/routing.py 100% <酶> (酶) 猬嗭笍
fastapi/applications.py 100% <酶> (酶) 猬嗭笍

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 3986f79...400cd1a. Read the comment docs.

@tiangolo tiangolo merged commit a49d45e into master May 27, 2019
@tiangolo tiangolo deleted the fix-response-model-type branch May 27, 2019 17:56
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