Skip to content

Commit 91a90ed

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

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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)