Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Replace get_with_token with requests.get#13

Merged
nothingface0 merged 1 commit intodevfrom
fix_headers_for_get
Feb 14, 2025
Merged

Replace get_with_token with requests.get#13
nothingface0 merged 1 commit intodevfrom
fix_headers_for_get

Conversation

@nothingface0
Copy link
Contributor

The get_with_token method from cernrequests does not allow
modifying the headers, so it was missing the
custom user agent, breaking the single function
that was using get_with_token.

The get_with_token method does not allow
modifying the headers, so it was missing the
custom user agent, breaking the single function
that was using get_with_token.
@codecov
Copy link

codecov bot commented Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.51%. Comparing base (54ae56a) to head (4b142fe).
Report is 4 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #13   +/-   ##
=======================================
  Coverage   95.51%   95.51%           
=======================================
  Files           4        4           
  Lines         379      379           
=======================================
  Hits          362      362           
  Misses         17       17           

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

@nothingface0 nothingface0 merged commit 9035b74 into dev Feb 14, 2025
6 checks passed
@nothingface0 nothingface0 deleted the fix_headers_for_get branch February 14, 2025 17:45
gabrielmscampos added a commit that referenced this pull request Feb 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant