feat: add urlparse module with ParseResult class definition
This commit is contained in:
parent
ee73482f38
commit
8b4a370a75
0
python/httpx/_httpx/__init__.pyi
Normal file
0
python/httpx/_httpx/__init__.pyi
Normal file
24
python/httpx/_httpx/urlparse.pyi
Normal file
24
python/httpx/_httpx/urlparse.pyi
Normal file
@ -0,0 +1,24 @@
|
||||
class ParseResult:
|
||||
scheme: str
|
||||
userinfo: str
|
||||
host: str
|
||||
port: int | None
|
||||
path: str
|
||||
query: str | None
|
||||
fragment: str | None
|
||||
|
||||
@property
|
||||
def authority(self) -> str: ...
|
||||
@property
|
||||
def netloc(self) -> str: ...
|
||||
def __str__(self) -> str: ...
|
||||
def __new__(
|
||||
cls,
|
||||
scheme: str,
|
||||
userinfo: str,
|
||||
host: str,
|
||||
port: int | None,
|
||||
path: str,
|
||||
query: str | None,
|
||||
fragment: str | None,
|
||||
) -> ParseResult: ...
|
||||
Loading…
Reference in New Issue
Block a user