Skip to content

Validation crashes on BooleanCaster: AttributeError: 'int' object has… #863

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryabtsev
Copy link

if value.lower() not in ["false", "true"]:

AttributeError: 'int' object has no attribute 'lower'

Copy link

codecov bot commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 90.28%. Comparing base (0383a3d) to head (8c9de2a).
Report is 18 commits behind head on master.

Files Patch % Lines
openapi_core/casting/schemas/casters.py 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #863   +/-   ##
=======================================
  Coverage   90.28%   90.28%           
=======================================
  Files         148      148           
  Lines        4312     4312           
  Branches      527      527           
=======================================
  Hits         3893     3893           
  Misses        317      317           
  Partials      102      102           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant