10000 ✅ Add test to support Enums with their own re-usable schema by tiangolo · Pull Request #1461 · fastapi/fastapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

✅ Add test to support Enums with their own re-usable schema #1461

Merged
merged 1 commit into from
May 23, 2020

Conversation

tiangolo
Copy link
Member

✅ Add test to support Enums with their own re-usable schema.

This enables pydantic/pydantic#1432 on the FastAPI side.

@codecov
Copy link
codecov bot commented May 23, 2020

Codecov Report

Merging #1461 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #1461   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          227       227           
  Lines         6805      6807    +2     
=========================================
+ Hits          6805      6807    +2     
Impacted Files Coverage Δ
...test_tutorial/test_path_params/test_tutorial005.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 601d8eb...8e2e255. Read the comment docs.

@github-actions
Copy link
Contributor

@tiangolo tiangolo merged commit ee335bc into master May 23, 2020
@tiangolo tiangolo deleted the enum-own-schema branch May 23, 2020 14:04
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
10C8
0