mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add missing @property to Response.next() stub (#3384)
This commit is contained in:
committed by
Sebastian Rittau
parent
38fbdc9490
commit
bf862d9079
1
third_party/2and3/requests/models.pyi
vendored
1
third_party/2and3/requests/models.pyi
vendored
@@ -117,6 +117,7 @@ class Response:
|
||||
def __iter__(self) -> Iterator[bytes]: ...
|
||||
def __enter__(self) -> Response: ...
|
||||
def __exit__(self, *args: Any) -> None: ...
|
||||
@property
|
||||
def next(self) -> Optional[PreparedRequest]: ...
|
||||
@property
|
||||
def ok(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user