Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork136
Refuse to cast str or bytes to array#421
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecovbot commentedSep 13, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #421 +/- ##======================================= Coverage 93.38% 93.39% ======================================= Files 97 97 Lines 2344 2346 +2 Branches 292 293 +1 =======================================+ Hits 2189 2191 +2 Misses 120 120 Partials 35 35
Help us with your feedback. Take ten seconds to tell ushow you rate us. Have a feature suggestion?Share it here. |
7be7fcc
toa8c3729
CompareAlthough str and bytes act as sequences in Python, they do not countas arrays according to OpenAPI, so we should not allow them tovalidate as arrays.Signed-off-by: Anders Kaseorg <andersk@mit.edu>
@andersk thank you for the contribution. |
Although
str
andbytes
act as sequences in Python, they do not count as arrays according to OpenAPI, so we should not allow them to validate as arrays.