mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-03 06:28:28 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -12,7 +12,7 @@ _Request: TypeAlias = Incomplete # actual type is httpx.Request
|
||||
# Inherits from httpx.Auth
|
||||
class OAuth1Auth(ClientAuth):
|
||||
requires_request_body: bool
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response, None]: ...
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response]: ...
|
||||
|
||||
# Inherits from httpx.AsyncClient
|
||||
class AsyncOAuth1Client(_OAuth1Client):
|
||||
|
||||
@@ -16,12 +16,12 @@ _Request: TypeAlias = Incomplete # actual type is httpx.Request
|
||||
# Inherits from httpx.Auth
|
||||
class OAuth2Auth(TokenAuth):
|
||||
requires_request_body: bool
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response, None]: ...
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response]: ...
|
||||
|
||||
# Inherits from httpx.Auth
|
||||
class OAuth2ClientAuth(ClientAuth):
|
||||
requires_request_body: bool
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response, None]: ...
|
||||
def auth_flow(self, request: _Request) -> Generator[_Request, _Response]: ...
|
||||
|
||||
# Inherits from httpx.AsyncClient
|
||||
class AsyncOAuth2Client(_OAuth2Client):
|
||||
|
||||
Reference in New Issue
Block a user