Skip to content

Commit 91a90ed

Browse files
Fix: OAuth1 type hints to include realm parameter (#13579)
1 parent 3ac6c38 commit 91a90ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stubs/requests-oauthlib/requests_oauthlib/oauth1_auth.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from _typeshed import Incomplete
22
from logging import Logger
3+
from typing import Any
34

45
from oauthlib.oauth1 import Client
56
from requests.auth import AuthBase
@@ -27,7 +28,9 @@ class OAuth1(AuthBase):
2728
client_class: type[Client] | None = None,
2829
force_include_body: bool = False,
2930
*,
31+
realm: Incomplete | None = None,
3032
encoding: str = "utf-8",
3133
nonce: Incomplete | None = None,
3234
timestamp: Incomplete | None = None,
35+
**kwargs: Any, # passed to client_class's __init__
3336
) -> None: ...

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy