- Notifications
You must be signed in to change notification settings - Fork186
fix: deprecated urllib calls#655
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
eaed4e8
to99bdd38
Comparecodecov-commenter commentedMay 13, 2024 • 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 ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install theCodecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@## master #655 +/- ##==========================================+ Coverage 90.41% 90.42% +0.01%========================================== Files 39 39 Lines 3505 3510 +5 ==========================================+ Hits 3169 3174 +5 Misses 336 336 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Tests pass locally. Changes make sense,
08acb17
intomasterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closes#602
Proposed Changes
Replaces deprecated
urllib
lib calls:HTTPResponse.getheaders()
with HTTPResponse.headers`HTTPResponse.getheader(name, default)
withHTTPResponse.headers.get(name, default)
Checklist
pytest tests
completes successfully