Skip to content

Issue #240: return default when passed float field is None #325

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

Closed
wants to merge 2 commits into from

Conversation

bdscharf
Copy link
Contributor

@bdscharf bdscharf commented May 26, 2021

This resolves issue #240 and provides a test to cover the case. Picks up from where PR #277 stalled.

.venv is also added to the .gitignore (created by virtual-fish--let me know if you'd like it removed!

@bdscharf bdscharf changed the title Issue 277: return default when passed float field is None Issue #277: return default when passed float field is None May 26, 2021
@bdscharf bdscharf changed the title Issue #277: return default when passed float field is None Issue #240: return default when passed float field is None May 26, 2021
@codecov
Copy link

codecov bot commented May 26, 2021

Codecov Report

Merging #325 (46867e7) into master (a39e06f) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #325      +/-   ##
==========================================
- Coverage   96.81%   96.77%   -0.04%     
==========================================
  Files          20       20              
  Lines        2730     2732       +2     
==========================================
+ Hits         2643     2644       +1     
- Misses         87       88       +1     
Impacted Files Coverage Δ
flask_restx/fields.py 96.43% <50.00%> (-0.21%) ⬇️

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 a39e06f...46867e7. Read the comment docs.

@bdscharf
Copy link
Contributor Author

Closing until coverage resolved.

@bdscharf bdscharf closed this May 27, 2021
@bdscharf bdscharf deleted the bdscharf/issue-277 branch May 27, 2021 02:09
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