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

馃摑 Update docs, compare enums with identity instead of equality #4905

Merged
merged 1 commit into from Aug 26, 2022

Conversation

MicaelJarniac
Copy link
Contributor

Enumeration members are compared by identity
https://docs.python.org/3/library/enum.html#comparisons

@codecov
Copy link

codecov bot commented May 13, 2022

Codecov Report

Merging #4905 (1547f41) into master (31690dd) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #4905   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          531       531           
  Lines        13629     13629           
=========================================
  Hits         13629     13629           
Impacted Files Coverage 螖
docs_src/path_params/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 31690dd...1547f41. Read the comment docs.

@github-actions
Copy link
Contributor

馃摑 Docs preview for commit 1547f41 at: https://627e94d50cb601023572a686--fastapi.netlify.app

@tiangolo tiangolo changed the title 馃摑 Compare enum with identity instead of equality 馃摑 Update docs, compare enums with identity instead of equality Aug 26, 2022
@tiangolo
Copy link
Owner

Cool, thanks! 馃

@tiangolo tiangolo merged commit e3c055b into tiangolo:master Aug 26, 2022
@MicaelJarniac MicaelJarniac deleted the patch-2 branch August 26, 2022 14:29
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

4 participants