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

Fix a DeprecationWarning from aiohttp in TestPetPhotoView #836

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

musicinmybrain
Copy link
Contributor

The warning says, “In v4, passing bytes will no longer create a file field. Please explicitly use the filename parameter or pass a BytesIO object.” This commit implements the latter approach.

The warning says, “In v4, passing bytes will no longer create a file
field. Please explicitly use the filename parameter or pass a BytesIO
object.” This commit implements the latter approach.
Copy link

codecov bot commented Apr 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.28%. Comparing base (fb0ea95) to head (72c9dca).
Report is 23 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #836      +/-   ##
==========================================
+ Coverage   90.26%   90.28%   +0.02%     
==========================================
  Files         147      148       +1     
  Lines        4302     4313      +11     
  Branches      524      527       +3     
==========================================
+ Hits         3883     3894      +11     
  Misses        317      317              
  Partials      102      102              

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

@musicinmybrain
Copy link
Contributor Author

I failed to reference the bug that this fixes: #835

Copy link
Collaborator

@p1c2u p1c2u left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@p1c2u
Copy link
Collaborator

p1c2u commented Apr 24, 2024

@musicinmybrain thanks for the contribution

@p1c2u p1c2u merged commit 9f42906 into python-openapi:master Apr 24, 2024
9 checks passed
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

2 participants