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

oauthlib: typing for gettattr overrides #10613

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 38 additions & 0 deletions stubs/oauthlib/oauthlib/common.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,44 @@ class Request:
headers: Incomplete | None = None,
encoding: str = "utf-8",
): ...
#
# Start `__getattr__` override
# attributes managed in `self._params` by `__getattr__` override
#
access_token: Any
client: Any
client_id: Any
client_secret: Any
code: Any
code_challenge: Any
code_challenge_method: Any
code_verifier: Any
extra_credentials: Any
grant_type: Any
redirect_uri: Any
refresh_token: Any
request_token: Any
response_type: Any
scope: Any
scopes: Any
state: Any
token: Any
user: Any
token_type_hint: Any
# OpenID Connect
response_mode: Any
nonce: Any
display: Any
prompt: Any
claims: Any
max_age: Any
ui_locales: Any
id_token_hint: Any
login_hint: Any
acr_values: Any
#
# END `__getattr__` override
#
def __getattr__(self, name: str): ...
@property
def uri_query(self): ...
Expand Down