-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: TypeError - requests.Session.request() got an unexpected keyword argument 'user_agent_overwrite' #45653
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -95,6 +95,22 @@ def _run_case(use_suffix: bool) -> None: | |||||
| _run_case(False) # prefix scenario | ||||||
| _run_case(True) # suffix scenario | ||||||
|
|
||||||
| def test_user_agent_overwrite_does_not_leak_sync(self): | ||||||
|
||||||
| def test_user_agent_overwrite_does_not_leak_sync(self): | |
| def test_user_agent_overwrite_does_not_leak(self): |
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.
Shouldn't this
user_agent_overwritekeyword in the docstring somewhere?Also, it would be ideal to link the PR when this new keyword was first added. I wasn't sure where this keyword was used before it was popped here.