mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-16 16:16:54 +08:00
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:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user