Add type to requests.models.RequestEncodingMixin.path_url (#9923)

We can see at 7f694b79e1/requests/models.py (L104) that this always returns a string.
This commit is contained in:
Adam Dangoor
2023-03-22 19:20:40 +00:00
committed by GitHub
parent 35a46915e6
commit 19368ab964

View File

@@ -48,7 +48,7 @@ ITER_CHUNK_SIZE: Any
class RequestEncodingMixin:
@property
def path_url(self): ...
def path_url(self) -> str: ...
class RequestHooksMixin:
def register_hook(self, event, hook): ...