Skip to content

[oauthlib] Fix type on body argument of oauthlib.oauth1.Client.sign() #14295

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

liffiton
Copy link

From the function docstring: "The body argument may be a dict, a list of 2-tuples, or a formencoded string."

liffiton and others added 2 commits June 17, 2025 09:36
From the oauthlib documentation: "The body argument may be a dict, a list of 2-tuples, or a formencoded string."
@liffiton liffiton changed the title Fix type on body argument of oauthlib.oauth1.Client.sign() [oauthlib] Fix type on body argument of oauthlib.oauth1.Client.sign() Jun 17, 2025
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@liffiton liffiton marked this pull request as ready for review June 17, 2025 15:14
liffiton added a commit to liffiton/Gen-Ed that referenced this pull request Jun 17, 2025
One mypy type error remains, caused by an issue in the typeshed type stubs.
python/typeshed#14295
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.

1 participant