massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / caldav / caldav / lib / url.pyi
1 from typing import overload
2 from urllib.parse import ParseResult, SplitResult
3
4 class URL:
5     def __init__(self, url: str | ParseResult | SplitResult) -> None: ...
6     def __bool__(self) -> bool: ...
7     def __ne__(self, other: object) -> bool: ...
8     def __eq__(self, other: object) -> bool: ...
9     def __hash__(self) -> int: ...
10     @overload
11     @classmethod
12     def objectify(cls, url: None) -> None: ...
13     @overload
14     @classmethod
15     def objectify(cls, url: URL | str | ParseResult | SplitResult) -> URL: ...
16     def __getattr__(self, attr: str): ...
17     def __unicode__(self) -> str: ...
18     def strip_trailing_slash(self) -> URL: ...
19     def is_auth(self) -> bool: ...
20     def unauth(self) -> URL: ...
21     def canonical(self) -> URL: ...
22     def join(self, path: object) -> URL: ...
23
24 @overload
25 def make(url: None) -> None: ...
26 @overload
27 def make(url: URL | str | ParseResult | SplitResult) -> URL: ...