ZhengyangZhang commited on
Commit
b84d06c
·
verified ·
1 Parent(s): 2815277

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/OpenSSL/__init__.pyi +0 -0
  2. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/OpenSSL/crypto.pyi +191 -0
  3. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/__init__.pyi +0 -0
  4. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/__init__.pyi +13 -0
  5. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/_base.pyi +92 -0
  6. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/process.pyi +8 -0
  7. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/thread.pyi +16 -0
  8. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/enum.pyi +73 -0
  9. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/fb303/FacebookService.pyi +298 -0
  10. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/fb303/__init__.pyi +0 -0
  11. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/ipaddress.pyi +148 -0
  12. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/__init__.pyi +0 -0
  13. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/client.pyi +109 -0
  14. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/exceptions.pyi +58 -0
  15. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/__init__.pyi +0 -0
  16. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/watchers.pyi +21 -0
  17. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/pathlib2.pyi +103 -0
  18. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/pymssql.pyi +44 -0
  19. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/__init__.pyi +14 -0
  20. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/mapper.pyi +77 -0
  21. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/util.pyi +20 -0
  22. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/__init__.pyi +0 -0
  23. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/scribe.pyi +40 -0
  24. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/ttypes.pyi +18 -0
  25. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/__init__.pyi +130 -0
  26. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/BaseHTTPServer.pyi +1 -0
  27. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/CGIHTTPServer.pyi +1 -0
  28. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/SimpleHTTPServer.pyi +1 -0
  29. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/__init__.pyi +78 -0
  30. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_dummy_thread.pyi +1 -0
  31. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_thread.pyi +1 -0
  32. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/cPickle.pyi +1 -0
  33. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/collections_abc.pyi +1 -0
  34. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/configparser.pyi +1 -0
  35. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_base.pyi +1 -0
  36. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_multipart.pyi +1 -0
  37. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_nonmultipart.pyi +1 -0
  38. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_text.pyi +1 -0
  39. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_entities.pyi +1 -0
  40. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_parser.pyi +1 -0
  41. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_client.pyi +1 -0
  42. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookiejar.pyi +1 -0
  43. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookies.pyi +1 -0
  44. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/queue.pyi +1 -0
  45. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/reprlib.pyi +1 -0
  46. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/socketserver.pyi +1 -0
  47. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/__init__.pyi +5 -0
  48. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/error.pyi +2 -0
  49. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/parse.pyi +29 -0
  50. lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/request.pyi +39 -0
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/OpenSSL/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/OpenSSL/crypto.pyi ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import datetime
2
+ from typing import Any, Callable, Iterable, List, Optional, Set, Text, Tuple, Union
3
+
4
+ from cryptography.hazmat.primitives.asymmetric import dsa, rsa
5
+
6
+ FILETYPE_PEM: int
7
+ FILETYPE_ASN1: int
8
+ FILETYPE_TEXT: int
9
+ TYPE_RSA: int
10
+ TYPE_DSA: int
11
+
12
+ class Error(Exception): ...
13
+
14
+ _Key = Union[rsa.RSAPublicKey, rsa.RSAPrivateKey, dsa.DSAPublicKey, dsa.DSAPrivateKey]
15
+
16
+ class PKey:
17
+ def __init__(self) -> None: ...
18
+ def to_cryptography_key(self) -> _Key: ...
19
+ @classmethod
20
+ def from_cryptography_key(cls, crypto_key: _Key): ...
21
+ def generate_key(self, type: int, bits: int) -> None: ...
22
+ def check(self) -> bool: ...
23
+ def type(self) -> int: ...
24
+ def bits(self) -> int: ...
25
+
26
+ class _EllipticCurve:
27
+ name: Text
28
+
29
+ def get_elliptic_curves() -> Set[_EllipticCurve]: ...
30
+ def get_elliptic_curve(name: str) -> _EllipticCurve: ...
31
+
32
+ class X509Name:
33
+ def __init__(self, name: X509Name) -> None: ...
34
+ countryName: Union[str, unicode]
35
+ stateOrProvinceName: Union[str, unicode]
36
+ localityName: Union[str, unicode]
37
+ organizationName: Union[str, unicode]
38
+ organizationalUnitName: Union[str, unicode]
39
+ commonName: Union[str, unicode]
40
+ emailAddress: Union[str, unicode]
41
+ C: Union[str, unicode]
42
+ ST: Union[str, unicode]
43
+ L: Union[str, unicode]
44
+ O: Union[str, unicode]
45
+ OU: Union[str, unicode]
46
+ CN: Union[str, unicode]
47
+ def hash(self) -> int: ...
48
+ def der(self) -> bytes: ...
49
+ def get_components(self) -> List[Tuple[str, str]]: ...
50
+
51
+ class X509Extension:
52
+ def __init__(
53
+ self, type_name: bytes, critical: bool, value: bytes, subject: Optional[X509] = ..., issuer: Optional[X509] = ...
54
+ ) -> None: ...
55
+ def get_critical(self) -> bool: ...
56
+ def get_short_name(self) -> str: ...
57
+ def get_data(self) -> str: ...
58
+
59
+ class X509Req:
60
+ def __init__(self) -> None: ...
61
+ def set_pubkey(self, pkey: PKey) -> None: ...
62
+ def get_pubkey(self) -> PKey: ...
63
+ def set_version(self, version: int) -> None: ...
64
+ def get_version(self) -> int: ...
65
+ def get_subject(self) -> X509Name: ...
66
+ def add_extensions(self, extensions: Iterable[X509Extension]) -> None: ...
67
+ def get_extensions(self) -> List[X509Extension]: ...
68
+ def sign(self, pkey: PKey, digest: str) -> None: ...
69
+ def verify(self, pkey: PKey) -> bool: ...
70
+
71
+ class X509:
72
+ def __init__(self) -> None: ...
73
+ def set_version(self, version: int) -> None: ...
74
+ def get_version(self) -> int: ...
75
+ def get_pubkey(self) -> PKey: ...
76
+ def set_pubkey(self, pkey: PKey) -> None: ...
77
+ def sign(self, pkey: PKey, digest: str) -> None: ...
78
+ def get_signature_algorithm(self) -> str: ...
79
+ def digest(self, digest_name: str) -> str: ...
80
+ def subject_name_hash(self) -> str: ...
81
+ def set_serial_number(self, serial: int) -> None: ...
82
+ def get_serial_number(self) -> int: ...
83
+ def gmtime_adj_notAfter(self, amount: int) -> None: ...
84
+ def gmtime_adj_notBefore(self, amount: int) -> None: ...
85
+ def has_expired(self) -> bool: ...
86
+ def get_notBefore(self) -> str: ...
87
+ def set_notBefore(self, when: str) -> None: ...
88
+ def get_notAfter(self) -> str: ...
89
+ def set_notAfter(self, when: str) -> None: ...
90
+ def get_issuer(self) -> X509Name: ...
91
+ def set_issuer(self, issuer: X509Name) -> None: ...
92
+ def get_subject(self) -> X509Name: ...
93
+ def set_subject(self, subject: X509Name) -> None: ...
94
+ def get_extension_count(self) -> int: ...
95
+ def add_extensions(self, extensions: Iterable[X509Extension]) -> None: ...
96
+ def get_extension(self, index: int) -> X509Extension: ...
97
+
98
+ class X509StoreFlags:
99
+ CRL_CHECK: int
100
+ CRL_CHECK_ALL: int
101
+ IGNORE_CRITICAL: int
102
+ X509_STRICT: int
103
+ ALLOW_PROXY_CERTS: int
104
+ POLICY_CHECK: int
105
+ EXPLICIT_POLICY: int
106
+ INHIBIT_MAP: int
107
+ NOTIFY_POLICY: int
108
+ CHECK_SS_SIGNATURE: int
109
+ CB_ISSUER_CHECK: int
110
+
111
+ class X509Store:
112
+ def __init__(self) -> None: ...
113
+ def add_cert(self, cert: X509) -> None: ...
114
+ def add_crl(self, crl: CRL) -> None: ...
115
+ def set_flags(self, flags: int) -> None: ...
116
+ def set_time(self, vfy_time: datetime) -> None: ...
117
+
118
+ class X509StoreContextError(Exception):
119
+ certificate: X509
120
+ def __init__(self, message: str, certificate: X509) -> None: ...
121
+
122
+ class X509StoreContext:
123
+ def __init__(self, store: X509Store, certificate: X509) -> None: ...
124
+ def set_store(self, store: X509Store) -> None: ...
125
+ def verify_certificate(self) -> None: ...
126
+
127
+ def load_certificate(type: int, buffer: Union[str, unicode]) -> X509: ...
128
+ def dump_certificate(type: int, cert: X509) -> bytes: ...
129
+ def dump_publickey(type: int, pkey: PKey) -> bytes: ...
130
+ def dump_privatekey(
131
+ type: int, pkey: PKey, cipher: Optional[str] = ..., passphrase: Optional[Union[str, Callable[[int], int]]] = ...
132
+ ) -> bytes: ...
133
+
134
+ class Revoked:
135
+ def __init__(self) -> None: ...
136
+ def set_serial(self, hex_str: str) -> None: ...
137
+ def get_serial(self) -> str: ...
138
+ def set_reason(self, reason: str) -> None: ...
139
+ def get_reason(self) -> str: ...
140
+ def all_reasons(self) -> List[str]: ...
141
+ def set_rev_date(self, when: str) -> None: ...
142
+ def get_rev_date(self) -> str: ...
143
+
144
+ class CRL:
145
+ def __init__(self) -> None: ...
146
+ def get_revoked(self) -> Tuple[Revoked, ...]: ...
147
+ def add_revoked(self, revoked: Revoked) -> None: ...
148
+ def get_issuer(self) -> X509Name: ...
149
+ def set_version(self, version: int) -> None: ...
150
+ def set_lastUpdate(self, when: str) -> None: ...
151
+ def set_nextUpdate(self, when: str) -> None: ...
152
+ def sign(self, issuer_cert: X509, issuer_key: PKey, digest: str) -> None: ...
153
+ def export(self, cert: X509, key: PKey, type: int = ..., days: int = ..., digest: str = ...) -> bytes: ...
154
+
155
+ class PKCS7:
156
+ def type_is_signed(self) -> bool: ...
157
+ def type_is_enveloped(self) -> bool: ...
158
+ def type_is_signedAndEnveloped(self) -> bool: ...
159
+ def type_is_data(self) -> bool: ...
160
+ def get_type_name(self) -> str: ...
161
+
162
+ class PKCS12:
163
+ def __init__(self) -> None: ...
164
+ def get_certificate(self) -> X509: ...
165
+ def set_certificate(self, cert: X509) -> None: ...
166
+ def get_privatekey(self) -> PKey: ...
167
+ def set_privatekey(self, pkey: PKey) -> None: ...
168
+ def get_ca_certificates(self) -> Tuple[X509, ...]: ...
169
+ def set_ca_certificates(self, cacerts: Iterable[X509]) -> None: ...
170
+ def set_friendlyname(self, name: bytes) -> None: ...
171
+ def get_friendlyname(self) -> bytes: ...
172
+ def export(self, passphrase: Optional[str] = ..., iter: int = ..., maciter: int = ...): ...
173
+
174
+ class NetscapeSPKI:
175
+ def __init__(self) -> None: ...
176
+ def sign(self, pkey: PKey, digest: str) -> None: ...
177
+ def verify(self, key: PKey) -> bool: ...
178
+ def b64_encode(self) -> str: ...
179
+ def get_pubkey(self) -> PKey: ...
180
+ def set_pubkey(self, pkey: PKey) -> None: ...
181
+
182
+ def load_publickey(type: int, buffer: Union[str, unicode]) -> PKey: ...
183
+ def load_privatekey(type: int, buffer: bytes, passphrase: Optional[Union[str, Callable[[int], int]]] = ...): ...
184
+ def dump_certificate_request(type: int, req: X509Req): ...
185
+ def load_certificate_request(type, buffer: Union[str, unicode]) -> X509Req: ...
186
+ def sign(pkey: PKey, data: Union[str, unicode], digest: str) -> bytes: ...
187
+ def verify(cert: X509, signature: bytes, data: Union[str, unicode], digest: str) -> None: ...
188
+ def dump_crl(type: int, crl: CRL) -> bytes: ...
189
+ def load_crl(type: int, buffer: Union[str, unicode]) -> CRL: ...
190
+ def load_pkcs7_data(type: int, buffer: Union[str, unicode]) -> PKCS7: ...
191
+ def load_pkcs12(buffer: Union[str, unicode], passphrase: Optional[Union[str, Callable[[int], int]]] = ...) -> PKCS12: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/__init__.pyi ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from ._base import (
2
+ ALL_COMPLETED as ALL_COMPLETED,
3
+ FIRST_COMPLETED as FIRST_COMPLETED,
4
+ FIRST_EXCEPTION as FIRST_EXCEPTION,
5
+ CancelledError as CancelledError,
6
+ Executor as Executor,
7
+ Future as Future,
8
+ TimeoutError as TimeoutError,
9
+ as_completed as as_completed,
10
+ wait as wait,
11
+ )
12
+ from .process import ProcessPoolExecutor as ProcessPoolExecutor
13
+ from .thread import ThreadPoolExecutor as ThreadPoolExecutor
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/_base.pyi ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import threading
2
+ from abc import abstractmethod
3
+ from logging import Logger
4
+ from types import TracebackType
5
+ from typing import Any, Callable, Container, Generic, Iterable, Iterator, List, Optional, Protocol, Set, Tuple, TypeVar
6
+
7
+ FIRST_COMPLETED: str
8
+ FIRST_EXCEPTION: str
9
+ ALL_COMPLETED: str
10
+ PENDING: str
11
+ RUNNING: str
12
+ CANCELLED: str
13
+ CANCELLED_AND_NOTIFIED: str
14
+ FINISHED: str
15
+ LOGGER: Logger
16
+
17
+ class Error(Exception): ...
18
+ class CancelledError(Error): ...
19
+ class TimeoutError(Error): ...
20
+
21
+ _T = TypeVar("_T")
22
+
23
+ _T_co = TypeVar("_T_co", covariant=True)
24
+
25
+ # Copied over Collection implementation as it does not exist in Python 2 and <3.6.
26
+ # Also to solve pytype issues with _Collection.
27
+ class _Collection(Iterable[_T_co], Container[_T_co], Protocol[_T_co]):
28
+ # Implement Sized (but don't have it as a base class).
29
+ @abstractmethod
30
+ def __len__(self) -> int: ...
31
+
32
+ class Future(Generic[_T]):
33
+ def __init__(self) -> None: ...
34
+ def cancel(self) -> bool: ...
35
+ def cancelled(self) -> bool: ...
36
+ def running(self) -> bool: ...
37
+ def done(self) -> bool: ...
38
+ def add_done_callback(self, fn: Callable[[Future[_T]], Any]) -> None: ...
39
+ def result(self, timeout: Optional[float] = ...) -> _T: ...
40
+ def set_running_or_notify_cancel(self) -> bool: ...
41
+ def set_result(self, result: _T) -> None: ...
42
+ def exception(self, timeout: Optional[float] = ...) -> Any: ...
43
+ def exception_info(self, timeout: Optional[float] = ...) -> Tuple[Any, Optional[TracebackType]]: ...
44
+ def set_exception(self, exception: Any) -> None: ...
45
+ def set_exception_info(self, exception: Any, traceback: Optional[TracebackType]) -> None: ...
46
+
47
+ class Executor:
48
+ def submit(self, fn: Callable[..., _T], *args: Any, **kwargs: Any) -> Future[_T]: ...
49
+ def map(self, func: Callable[..., _T], *iterables: Iterable[Any], timeout: Optional[float] = ...) -> Iterator[_T]: ...
50
+ def shutdown(self, wait: bool = ...) -> None: ...
51
+ def __enter__(self: _T) -> _T: ...
52
+ def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> Optional[bool]: ...
53
+
54
+ def as_completed(fs: Iterable[Future[_T]], timeout: Optional[float] = ...) -> Iterator[Future[_T]]: ...
55
+ def wait(
56
+ fs: _Collection[Future[_T]], timeout: Optional[float] = ..., return_when: str = ...
57
+ ) -> Tuple[Set[Future[_T]], Set[Future[_T]]]: ...
58
+
59
+ class _Waiter:
60
+ event: threading.Event
61
+ finished_futures: List[Future[Any]]
62
+ def __init__(self) -> None: ...
63
+ def add_result(self, future: Future[Any]) -> None: ...
64
+ def add_exception(self, future: Future[Any]) -> None: ...
65
+ def add_cancelled(self, future: Future[Any]) -> None: ...
66
+
67
+ class _AsCompletedWaiter(_Waiter):
68
+ lock: threading.Lock
69
+ def __init__(self) -> None: ...
70
+ def add_result(self, future: Future[Any]) -> None: ...
71
+ def add_exception(self, future: Future[Any]) -> None: ...
72
+ def add_cancelled(self, future: Future[Any]) -> None: ...
73
+
74
+ class _FirstCompletedWaiter(_Waiter):
75
+ def add_result(self, future: Future[Any]) -> None: ...
76
+ def add_exception(self, future: Future[Any]) -> None: ...
77
+ def add_cancelled(self, future: Future[Any]) -> None: ...
78
+
79
+ class _AllCompletedWaiter(_Waiter):
80
+ num_pending_calls: int
81
+ stop_on_exception: bool
82
+ lock: threading.Lock
83
+ def __init__(self, num_pending_calls: int, stop_on_exception: bool) -> None: ...
84
+ def add_result(self, future: Future[Any]) -> None: ...
85
+ def add_exception(self, future: Future[Any]) -> None: ...
86
+ def add_cancelled(self, future: Future[Any]) -> None: ...
87
+
88
+ class _AcquireFutures:
89
+ futures: Iterable[Future[Any]]
90
+ def __init__(self, futures: Iterable[Future[Any]]) -> None: ...
91
+ def __enter__(self) -> None: ...
92
+ def __exit__(self, *args: Any) -> None: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/process.pyi ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Optional
2
+
3
+ from ._base import Executor
4
+
5
+ EXTRA_QUEUED_CALLS: Any
6
+
7
+ class ProcessPoolExecutor(Executor):
8
+ def __init__(self, max_workers: Optional[int] = ...) -> None: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/thread.pyi ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Callable, Generic, Iterable, Mapping, Optional, Tuple, TypeVar
2
+
3
+ from ._base import Executor, Future
4
+
5
+ _S = TypeVar("_S")
6
+
7
+ class ThreadPoolExecutor(Executor):
8
+ def __init__(self, max_workers: Optional[int] = ..., thread_name_prefix: str = ...) -> None: ...
9
+
10
+ class _WorkItem(Generic[_S]):
11
+ future: Future[_S]
12
+ fn: Callable[..., _S]
13
+ args: Iterable[Any]
14
+ kwargs: Mapping[str, Any]
15
+ def __init__(self, future: Future[_S], fn: Callable[..., _S], args: Iterable[Any], kwargs: Mapping[str, Any]) -> None: ...
16
+ def run(self) -> None: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/enum.pyi ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from abc import ABCMeta
3
+ from typing import Any, Dict, Iterator, List, Mapping, Type, TypeVar, Union
4
+
5
+ _T = TypeVar("_T")
6
+ _S = TypeVar("_S", bound=Type[Enum])
7
+
8
+ # Note: EnumMeta actually subclasses type directly, not ABCMeta.
9
+ # This is a temporary workaround to allow multiple creation of enums with builtins
10
+ # such as str as mixins, which due to the handling of ABCs of builtin types, cause
11
+ # spurious inconsistent metaclass structure. See #1595.
12
+ # Structurally: Iterable[T], Reversible[T], Container[T] where T is the enum itself
13
+ class EnumMeta(ABCMeta):
14
+ def __iter__(self: Type[_T]) -> Iterator[_T]: ...
15
+ def __reversed__(self: Type[_T]) -> Iterator[_T]: ...
16
+ def __contains__(self: Type[_T], member: object) -> bool: ...
17
+ def __getitem__(self: Type[_T], name: str) -> _T: ...
18
+ @property
19
+ def __members__(self: Type[_T]) -> Mapping[str, _T]: ...
20
+ def __len__(self) -> int: ...
21
+
22
+ class Enum(metaclass=EnumMeta):
23
+ name: str
24
+ value: Any
25
+ _name_: str
26
+ _value_: Any
27
+ _member_names_: List[str] # undocumented
28
+ _member_map_: Dict[str, Enum] # undocumented
29
+ _value2member_map_: Dict[int, Enum] # undocumented
30
+ if sys.version_info >= (3, 7):
31
+ _ignore_: Union[str, List[str]]
32
+ _order_: str
33
+ __order__: str
34
+ @classmethod
35
+ def _missing_(cls, value: object) -> Any: ...
36
+ @staticmethod
37
+ def _generate_next_value_(name: str, start: int, count: int, last_values: List[Any]) -> Any: ...
38
+ def __new__(cls: Type[_T], value: object) -> _T: ...
39
+ def __repr__(self) -> str: ...
40
+ def __str__(self) -> str: ...
41
+ def __dir__(self) -> List[str]: ...
42
+ def __format__(self, format_spec: str) -> str: ...
43
+ def __hash__(self) -> Any: ...
44
+ def __reduce_ex__(self, proto: object) -> Any: ...
45
+
46
+ class IntEnum(int, Enum):
47
+ value: int
48
+
49
+ def unique(enumeration: _S) -> _S: ...
50
+
51
+ _auto_null: Any
52
+
53
+ # subclassing IntFlag so it picks up all implemented base functions, best modeling behavior of enum.auto()
54
+ class auto(IntFlag):
55
+ value: Any
56
+
57
+ class Flag(Enum):
58
+ def __contains__(self: _T, other: _T) -> bool: ...
59
+ def __repr__(self) -> str: ...
60
+ def __str__(self) -> str: ...
61
+ def __bool__(self) -> bool: ...
62
+ def __or__(self: _T, other: _T) -> _T: ...
63
+ def __and__(self: _T, other: _T) -> _T: ...
64
+ def __xor__(self: _T, other: _T) -> _T: ...
65
+ def __invert__(self: _T) -> _T: ...
66
+
67
+ class IntFlag(int, Flag):
68
+ def __or__(self: _T, other: Union[int, _T]) -> _T: ...
69
+ def __and__(self: _T, other: Union[int, _T]) -> _T: ...
70
+ def __xor__(self: _T, other: Union[int, _T]) -> _T: ...
71
+ __ror__ = __or__
72
+ __rand__ = __and__
73
+ __rxor__ = __xor__
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/fb303/FacebookService.pyi ADDED
@@ -0,0 +1,298 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ from thrift.Thrift import TProcessor # type: ignore
4
+
5
+ fastbinary: Any
6
+
7
+ class Iface:
8
+ def getName(self): ...
9
+ def getVersion(self): ...
10
+ def getStatus(self): ...
11
+ def getStatusDetails(self): ...
12
+ def getCounters(self): ...
13
+ def getCounter(self, key): ...
14
+ def setOption(self, key, value): ...
15
+ def getOption(self, key): ...
16
+ def getOptions(self): ...
17
+ def getCpuProfile(self, profileDurationInSec): ...
18
+ def aliveSince(self): ...
19
+ def reinitialize(self): ...
20
+ def shutdown(self): ...
21
+
22
+ class Client(Iface):
23
+ def __init__(self, iprot, oprot=...) -> None: ...
24
+ def getName(self): ...
25
+ def send_getName(self): ...
26
+ def recv_getName(self): ...
27
+ def getVersion(self): ...
28
+ def send_getVersion(self): ...
29
+ def recv_getVersion(self): ...
30
+ def getStatus(self): ...
31
+ def send_getStatus(self): ...
32
+ def recv_getStatus(self): ...
33
+ def getStatusDetails(self): ...
34
+ def send_getStatusDetails(self): ...
35
+ def recv_getStatusDetails(self): ...
36
+ def getCounters(self): ...
37
+ def send_getCounters(self): ...
38
+ def recv_getCounters(self): ...
39
+ def getCounter(self, key): ...
40
+ def send_getCounter(self, key): ...
41
+ def recv_getCounter(self): ...
42
+ def setOption(self, key, value): ...
43
+ def send_setOption(self, key, value): ...
44
+ def recv_setOption(self): ...
45
+ def getOption(self, key): ...
46
+ def send_getOption(self, key): ...
47
+ def recv_getOption(self): ...
48
+ def getOptions(self): ...
49
+ def send_getOptions(self): ...
50
+ def recv_getOptions(self): ...
51
+ def getCpuProfile(self, profileDurationInSec): ...
52
+ def send_getCpuProfile(self, profileDurationInSec): ...
53
+ def recv_getCpuProfile(self): ...
54
+ def aliveSince(self): ...
55
+ def send_aliveSince(self): ...
56
+ def recv_aliveSince(self): ...
57
+ def reinitialize(self): ...
58
+ def send_reinitialize(self): ...
59
+ def shutdown(self): ...
60
+ def send_shutdown(self): ...
61
+
62
+ class Processor(Iface, TProcessor): # type: ignore
63
+ def __init__(self, handler) -> None: ...
64
+ def process(self, iprot, oprot): ...
65
+ def process_getName(self, seqid, iprot, oprot): ...
66
+ def process_getVersion(self, seqid, iprot, oprot): ...
67
+ def process_getStatus(self, seqid, iprot, oprot): ...
68
+ def process_getStatusDetails(self, seqid, iprot, oprot): ...
69
+ def process_getCounters(self, seqid, iprot, oprot): ...
70
+ def process_getCounter(self, seqid, iprot, oprot): ...
71
+ def process_setOption(self, seqid, iprot, oprot): ...
72
+ def process_getOption(self, seqid, iprot, oprot): ...
73
+ def process_getOptions(self, seqid, iprot, oprot): ...
74
+ def process_getCpuProfile(self, seqid, iprot, oprot): ...
75
+ def process_aliveSince(self, seqid, iprot, oprot): ...
76
+ def process_reinitialize(self, seqid, iprot, oprot): ...
77
+ def process_shutdown(self, seqid, iprot, oprot): ...
78
+
79
+ class getName_args:
80
+ thrift_spec: Any
81
+ def read(self, iprot): ...
82
+ def write(self, oprot): ...
83
+ def validate(self): ...
84
+ def __eq__(self, other): ...
85
+ def __ne__(self, other): ...
86
+
87
+ class getName_result:
88
+ thrift_spec: Any
89
+ success: Any
90
+ def __init__(self, success=...) -> None: ...
91
+ def read(self, iprot): ...
92
+ def write(self, oprot): ...
93
+ def validate(self): ...
94
+ def __eq__(self, other): ...
95
+ def __ne__(self, other): ...
96
+
97
+ class getVersion_args:
98
+ thrift_spec: Any
99
+ def read(self, iprot): ...
100
+ def write(self, oprot): ...
101
+ def validate(self): ...
102
+ def __eq__(self, other): ...
103
+ def __ne__(self, other): ...
104
+
105
+ class getVersion_result:
106
+ thrift_spec: Any
107
+ success: Any
108
+ def __init__(self, success=...) -> None: ...
109
+ def read(self, iprot): ...
110
+ def write(self, oprot): ...
111
+ def validate(self): ...
112
+ def __eq__(self, other): ...
113
+ def __ne__(self, other): ...
114
+
115
+ class getStatus_args:
116
+ thrift_spec: Any
117
+ def read(self, iprot): ...
118
+ def write(self, oprot): ...
119
+ def validate(self): ...
120
+ def __eq__(self, other): ...
121
+ def __ne__(self, other): ...
122
+
123
+ class getStatus_result:
124
+ thrift_spec: Any
125
+ success: Any
126
+ def __init__(self, success=...) -> None: ...
127
+ def read(self, iprot): ...
128
+ def write(self, oprot): ...
129
+ def validate(self): ...
130
+ def __eq__(self, other): ...
131
+ def __ne__(self, other): ...
132
+
133
+ class getStatusDetails_args:
134
+ thrift_spec: Any
135
+ def read(self, iprot): ...
136
+ def write(self, oprot): ...
137
+ def validate(self): ...
138
+ def __eq__(self, other): ...
139
+ def __ne__(self, other): ...
140
+
141
+ class getStatusDetails_result:
142
+ thrift_spec: Any
143
+ success: Any
144
+ def __init__(self, success=...) -> None: ...
145
+ def read(self, iprot): ...
146
+ def write(self, oprot): ...
147
+ def validate(self): ...
148
+ def __eq__(self, other): ...
149
+ def __ne__(self, other): ...
150
+
151
+ class getCounters_args:
152
+ thrift_spec: Any
153
+ def read(self, iprot): ...
154
+ def write(self, oprot): ...
155
+ def validate(self): ...
156
+ def __eq__(self, other): ...
157
+ def __ne__(self, other): ...
158
+
159
+ class getCounters_result:
160
+ thrift_spec: Any
161
+ success: Any
162
+ def __init__(self, success=...) -> None: ...
163
+ def read(self, iprot): ...
164
+ def write(self, oprot): ...
165
+ def validate(self): ...
166
+ def __eq__(self, other): ...
167
+ def __ne__(self, other): ...
168
+
169
+ class getCounter_args:
170
+ thrift_spec: Any
171
+ key: Any
172
+ def __init__(self, key=...) -> None: ...
173
+ def read(self, iprot): ...
174
+ def write(self, oprot): ...
175
+ def validate(self): ...
176
+ def __eq__(self, other): ...
177
+ def __ne__(self, other): ...
178
+
179
+ class getCounter_result:
180
+ thrift_spec: Any
181
+ success: Any
182
+ def __init__(self, success=...) -> None: ...
183
+ def read(self, iprot): ...
184
+ def write(self, oprot): ...
185
+ def validate(self): ...
186
+ def __eq__(self, other): ...
187
+ def __ne__(self, other): ...
188
+
189
+ class setOption_args:
190
+ thrift_spec: Any
191
+ key: Any
192
+ value: Any
193
+ def __init__(self, key=..., value=...) -> None: ...
194
+ def read(self, iprot): ...
195
+ def write(self, oprot): ...
196
+ def validate(self): ...
197
+ def __eq__(self, other): ...
198
+ def __ne__(self, other): ...
199
+
200
+ class setOption_result:
201
+ thrift_spec: Any
202
+ def read(self, iprot): ...
203
+ def write(self, oprot): ...
204
+ def validate(self): ...
205
+ def __eq__(self, other): ...
206
+ def __ne__(self, other): ...
207
+
208
+ class getOption_args:
209
+ thrift_spec: Any
210
+ key: Any
211
+ def __init__(self, key=...) -> None: ...
212
+ def read(self, iprot): ...
213
+ def write(self, oprot): ...
214
+ def validate(self): ...
215
+ def __eq__(self, other): ...
216
+ def __ne__(self, other): ...
217
+
218
+ class getOption_result:
219
+ thrift_spec: Any
220
+ success: Any
221
+ def __init__(self, success=...) -> None: ...
222
+ def read(self, iprot): ...
223
+ def write(self, oprot): ...
224
+ def validate(self): ...
225
+ def __eq__(self, other): ...
226
+ def __ne__(self, other): ...
227
+
228
+ class getOptions_args:
229
+ thrift_spec: Any
230
+ def read(self, iprot): ...
231
+ def write(self, oprot): ...
232
+ def validate(self): ...
233
+ def __eq__(self, other): ...
234
+ def __ne__(self, other): ...
235
+
236
+ class getOptions_result:
237
+ thrift_spec: Any
238
+ success: Any
239
+ def __init__(self, success=...) -> None: ...
240
+ def read(self, iprot): ...
241
+ def write(self, oprot): ...
242
+ def validate(self): ...
243
+ def __eq__(self, other): ...
244
+ def __ne__(self, other): ...
245
+
246
+ class getCpuProfile_args:
247
+ thrift_spec: Any
248
+ profileDurationInSec: Any
249
+ def __init__(self, profileDurationInSec=...) -> None: ...
250
+ def read(self, iprot): ...
251
+ def write(self, oprot): ...
252
+ def validate(self): ...
253
+ def __eq__(self, other): ...
254
+ def __ne__(self, other): ...
255
+
256
+ class getCpuProfile_result:
257
+ thrift_spec: Any
258
+ success: Any
259
+ def __init__(self, success=...) -> None: ...
260
+ def read(self, iprot): ...
261
+ def write(self, oprot): ...
262
+ def validate(self): ...
263
+ def __eq__(self, other): ...
264
+ def __ne__(self, other): ...
265
+
266
+ class aliveSince_args:
267
+ thrift_spec: Any
268
+ def read(self, iprot): ...
269
+ def write(self, oprot): ...
270
+ def validate(self): ...
271
+ def __eq__(self, other): ...
272
+ def __ne__(self, other): ...
273
+
274
+ class aliveSince_result:
275
+ thrift_spec: Any
276
+ success: Any
277
+ def __init__(self, success=...) -> None: ...
278
+ def read(self, iprot): ...
279
+ def write(self, oprot): ...
280
+ def validate(self): ...
281
+ def __eq__(self, other): ...
282
+ def __ne__(self, other): ...
283
+
284
+ class reinitialize_args:
285
+ thrift_spec: Any
286
+ def read(self, iprot): ...
287
+ def write(self, oprot): ...
288
+ def validate(self): ...
289
+ def __eq__(self, other): ...
290
+ def __ne__(self, other): ...
291
+
292
+ class shutdown_args:
293
+ thrift_spec: Any
294
+ def read(self, iprot): ...
295
+ def write(self, oprot): ...
296
+ def validate(self): ...
297
+ def __eq__(self, other): ...
298
+ def __ne__(self, other): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/fb303/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/ipaddress.pyi ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any, Container, Generic, Iterable, Iterator, Optional, SupportsInt, Text, Tuple, TypeVar, overload
2
+
3
+ # Undocumented length constants
4
+ IPV4LENGTH: int
5
+ IPV6LENGTH: int
6
+
7
+ _A = TypeVar("_A", IPv4Address, IPv6Address)
8
+ _N = TypeVar("_N", IPv4Network, IPv6Network)
9
+ _T = TypeVar("_T")
10
+
11
+ def ip_address(address: object) -> Any: ... # morally Union[IPv4Address, IPv6Address]
12
+ def ip_network(address: object, strict: bool = ...) -> Any: ... # morally Union[IPv4Network, IPv6Network]
13
+ def ip_interface(address: object) -> Any: ... # morally Union[IPv4Interface, IPv6Interface]
14
+
15
+ class _IPAddressBase:
16
+ def __eq__(self, other: Any) -> bool: ...
17
+ def __ge__(self: _T, other: _T) -> bool: ...
18
+ def __gt__(self: _T, other: _T) -> bool: ...
19
+ def __le__(self: _T, other: _T) -> bool: ...
20
+ def __lt__(self: _T, other: _T) -> bool: ...
21
+ def __ne__(self, other: Any) -> bool: ...
22
+ @property
23
+ def compressed(self) -> Text: ...
24
+ @property
25
+ def exploded(self) -> Text: ...
26
+ @property
27
+ def reverse_pointer(self) -> Text: ...
28
+ @property
29
+ def version(self) -> int: ...
30
+
31
+ class _BaseAddress(_IPAddressBase, SupportsInt):
32
+ def __init__(self, address: object) -> None: ...
33
+ def __add__(self: _T, other: int) -> _T: ...
34
+ def __hash__(self) -> int: ...
35
+ def __int__(self) -> int: ...
36
+ def __sub__(self: _T, other: int) -> _T: ...
37
+ @property
38
+ def is_global(self) -> bool: ...
39
+ @property
40
+ def is_link_local(self) -> bool: ...
41
+ @property
42
+ def is_loopback(self) -> bool: ...
43
+ @property
44
+ def is_multicast(self) -> bool: ...
45
+ @property
46
+ def is_private(self) -> bool: ...
47
+ @property
48
+ def is_reserved(self) -> bool: ...
49
+ @property
50
+ def is_unspecified(self) -> bool: ...
51
+ @property
52
+ def max_prefixlen(self) -> int: ...
53
+ @property
54
+ def packed(self) -> bytes: ...
55
+
56
+ class _BaseNetwork(_IPAddressBase, Container[_A], Iterable[_A], Generic[_A]):
57
+ network_address: _A
58
+ netmask: _A
59
+ def __init__(self, address: object, strict: bool = ...) -> None: ...
60
+ def __contains__(self, other: Any) -> bool: ...
61
+ def __getitem__(self, n: int) -> _A: ...
62
+ def __iter__(self) -> Iterator[_A]: ...
63
+ def address_exclude(self: _T, other: _T) -> Iterator[_T]: ...
64
+ @property
65
+ def broadcast_address(self) -> _A: ...
66
+ def compare_networks(self: _T, other: _T) -> int: ...
67
+ def hosts(self) -> Iterator[_A]: ...
68
+ @property
69
+ def is_global(self) -> bool: ...
70
+ @property
71
+ def is_link_local(self) -> bool: ...
72
+ @property
73
+ def is_loopback(self) -> bool: ...
74
+ @property
75
+ def is_multicast(self) -> bool: ...
76
+ @property
77
+ def is_private(self) -> bool: ...
78
+ @property
79
+ def is_reserved(self) -> bool: ...
80
+ @property
81
+ def is_unspecified(self) -> bool: ...
82
+ @property
83
+ def max_prefixlen(self) -> int: ...
84
+ @property
85
+ def num_addresses(self) -> int: ...
86
+ def overlaps(self, other: _BaseNetwork[_A]) -> bool: ...
87
+ @property
88
+ def prefixlen(self) -> int: ...
89
+ def subnets(self: _T, prefixlen_diff: int = ..., new_prefix: Optional[int] = ...) -> Iterator[_T]: ...
90
+ def supernet(self: _T, prefixlen_diff: int = ..., new_prefix: Optional[int] = ...) -> _T: ...
91
+ @property
92
+ def with_hostmask(self) -> Text: ...
93
+ @property
94
+ def with_netmask(self) -> Text: ...
95
+ @property
96
+ def with_prefixlen(self) -> Text: ...
97
+ @property
98
+ def hostmask(self) -> _A: ...
99
+
100
+ class _BaseInterface(_BaseAddress, Generic[_A, _N]):
101
+ hostmask: _A
102
+ netmask: _A
103
+ network: _N
104
+ @property
105
+ def ip(self) -> _A: ...
106
+ @property
107
+ def with_hostmask(self) -> Text: ...
108
+ @property
109
+ def with_netmask(self) -> Text: ...
110
+ @property
111
+ def with_prefixlen(self) -> Text: ...
112
+
113
+ class IPv4Address(_BaseAddress): ...
114
+ class IPv4Network(_BaseNetwork[IPv4Address]): ...
115
+ class IPv4Interface(IPv4Address, _BaseInterface[IPv4Address, IPv4Network]): ...
116
+
117
+ class IPv6Address(_BaseAddress):
118
+ @property
119
+ def ipv4_mapped(self) -> Optional[IPv4Address]: ...
120
+ @property
121
+ def is_site_local(self) -> bool: ...
122
+ @property
123
+ def sixtofour(self) -> Optional[IPv4Address]: ...
124
+ @property
125
+ def teredo(self) -> Optional[Tuple[IPv4Address, IPv4Address]]: ...
126
+
127
+ class IPv6Network(_BaseNetwork[IPv6Address]):
128
+ @property
129
+ def is_site_local(self) -> bool: ...
130
+
131
+ class IPv6Interface(IPv6Address, _BaseInterface[IPv6Address, IPv6Network]): ...
132
+
133
+ def v4_int_to_packed(address: int) -> bytes: ...
134
+ def v6_int_to_packed(address: int) -> bytes: ...
135
+ @overload
136
+ def summarize_address_range(first: IPv4Address, last: IPv4Address) -> Iterator[IPv4Network]: ...
137
+ @overload
138
+ def summarize_address_range(first: IPv6Address, last: IPv6Address) -> Iterator[IPv6Network]: ...
139
+ def collapse_addresses(addresses: Iterable[_N]) -> Iterator[_N]: ...
140
+ @overload
141
+ def get_mixed_type_key(obj: _A) -> Tuple[int, _A]: ...
142
+ @overload
143
+ def get_mixed_type_key(obj: IPv4Network) -> Tuple[int, IPv4Address, IPv4Address]: ...
144
+ @overload
145
+ def get_mixed_type_key(obj: IPv6Network) -> Tuple[int, IPv6Address, IPv6Address]: ...
146
+
147
+ class AddressValueError(ValueError): ...
148
+ class NetmaskValueError(ValueError): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/client.pyi ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ string_types: Any
4
+ bytes_types: Any
5
+ LOST_STATES: Any
6
+ ENVI_VERSION: Any
7
+ ENVI_VERSION_KEY: Any
8
+ log: Any
9
+
10
+ class KazooClient:
11
+ logger: Any
12
+ handler: Any
13
+ auth_data: Any
14
+ default_acl: Any
15
+ randomize_hosts: Any
16
+ hosts: Any
17
+ chroot: Any
18
+ state: Any
19
+ state_listeners: Any
20
+ read_only: Any
21
+ retry: Any
22
+ Barrier: Any
23
+ Counter: Any
24
+ DoubleBarrier: Any
25
+ ChildrenWatch: Any
26
+ DataWatch: Any
27
+ Election: Any
28
+ NonBlockingLease: Any
29
+ MultiNonBlockingLease: Any
30
+ Lock: Any
31
+ Party: Any
32
+ Queue: Any
33
+ LockingQueue: Any
34
+ SetPartitioner: Any
35
+ Semaphore: Any
36
+ ShallowParty: Any
37
+ def __init__(
38
+ self,
39
+ hosts=...,
40
+ timeout=...,
41
+ client_id=...,
42
+ handler=...,
43
+ default_acl=...,
44
+ auth_data=...,
45
+ read_only=...,
46
+ randomize_hosts=...,
47
+ connection_retry=...,
48
+ command_retry=...,
49
+ logger=...,
50
+ **kwargs,
51
+ ) -> None: ...
52
+ @property
53
+ def client_state(self): ...
54
+ @property
55
+ def client_id(self): ...
56
+ @property
57
+ def connected(self): ...
58
+ def set_hosts(self, hosts, randomize_hosts=...): ...
59
+ def add_listener(self, listener): ...
60
+ def remove_listener(self, listener): ...
61
+ def start(self, timeout=...): ...
62
+ def start_async(self): ...
63
+ def stop(self): ...
64
+ def restart(self): ...
65
+ def close(self): ...
66
+ def command(self, cmd=...): ...
67
+ def server_version(self, retries=...): ...
68
+ def add_auth(self, scheme, credential): ...
69
+ def add_auth_async(self, scheme, credential): ...
70
+ def unchroot(self, path): ...
71
+ def sync_async(self, path): ...
72
+ def sync(self, path): ...
73
+ def create(self, path, value=..., acl=..., ephemeral=..., sequence=..., makepath=...): ...
74
+ def create_async(self, path, value=..., acl=..., ephemeral=..., sequence=..., makepath=...): ...
75
+ def ensure_path(self, path, acl=...): ...
76
+ def ensure_path_async(self, path, acl=...): ...
77
+ def exists(self, path, watch=...): ...
78
+ def exists_async(self, path, watch=...): ...
79
+ def get(self, path, watch=...): ...
80
+ def get_async(self, path, watch=...): ...
81
+ def get_children(self, path, watch=..., include_data=...): ...
82
+ def get_children_async(self, path, watch=..., include_data=...): ...
83
+ def get_acls(self, path): ...
84
+ def get_acls_async(self, path): ...
85
+ def set_acls(self, path, acls, version=...): ...
86
+ def set_acls_async(self, path, acls, version=...): ...
87
+ def set(self, path, value, version=...): ...
88
+ def set_async(self, path, value, version=...): ...
89
+ def transaction(self): ...
90
+ def delete(self, path, version=..., recursive=...): ...
91
+ def delete_async(self, path, version=...): ...
92
+ def reconfig(self, joining, leaving, new_members, from_config=...): ...
93
+ def reconfig_async(self, joining, leaving, new_members, from_config): ...
94
+
95
+ class TransactionRequest:
96
+ client: Any
97
+ operations: Any
98
+ committed: Any
99
+ def __init__(self, client) -> None: ...
100
+ def create(self, path, value=..., acl=..., ephemeral=..., sequence=...): ...
101
+ def delete(self, path, version=...): ...
102
+ def set_data(self, path, value, version=...): ...
103
+ def check(self, path, version): ...
104
+ def commit_async(self): ...
105
+ def commit(self): ...
106
+ def __enter__(self): ...
107
+ def __exit__(self, exc_type, exc_value, exc_tb): ...
108
+
109
+ class KazooState: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/exceptions.pyi ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ class KazooException(Exception): ...
4
+ class ZookeeperError(KazooException): ...
5
+ class CancelledError(KazooException): ...
6
+ class ConfigurationError(KazooException): ...
7
+ class ZookeeperStoppedError(KazooException): ...
8
+ class ConnectionDropped(KazooException): ...
9
+ class LockTimeout(KazooException): ...
10
+ class WriterNotClosedException(KazooException): ...
11
+
12
+ EXCEPTIONS: Any
13
+
14
+ class RolledBackError(ZookeeperError): ...
15
+ class SystemZookeeperError(ZookeeperError): ...
16
+ class RuntimeInconsistency(ZookeeperError): ...
17
+ class DataInconsistency(ZookeeperError): ...
18
+ class ConnectionLoss(ZookeeperError): ...
19
+ class MarshallingError(ZookeeperError): ...
20
+ class UnimplementedError(ZookeeperError): ...
21
+ class OperationTimeoutError(ZookeeperError): ...
22
+ class BadArgumentsError(ZookeeperError): ...
23
+ class NewConfigNoQuorumError(ZookeeperError): ...
24
+ class ReconfigInProcessError(ZookeeperError): ...
25
+ class APIError(ZookeeperError): ...
26
+ class NoNodeError(ZookeeperError): ...
27
+ class NoAuthError(ZookeeperError): ...
28
+ class BadVersionError(ZookeeperError): ...
29
+ class NoChildrenForEphemeralsError(ZookeeperError): ...
30
+ class NodeExistsError(ZookeeperError): ...
31
+ class NotEmptyError(ZookeeperError): ...
32
+ class SessionExpiredError(ZookeeperError): ...
33
+ class InvalidCallbackError(ZookeeperError): ...
34
+ class InvalidACLError(ZookeeperError): ...
35
+ class AuthFailedError(ZookeeperError): ...
36
+ class SessionMovedError(ZookeeperError): ...
37
+ class NotReadOnlyCallError(ZookeeperError): ...
38
+ class ConnectionClosedError(SessionExpiredError): ...
39
+
40
+ ConnectionLossException: Any
41
+ MarshallingErrorException: Any
42
+ SystemErrorException: Any
43
+ RuntimeInconsistencyException: Any
44
+ DataInconsistencyException: Any
45
+ UnimplementedException: Any
46
+ OperationTimeoutException: Any
47
+ BadArgumentsException: Any
48
+ ApiErrorException: Any
49
+ NoNodeException: Any
50
+ NoAuthException: Any
51
+ BadVersionException: Any
52
+ NoChildrenForEphemeralsException: Any
53
+ NodeExistsException: Any
54
+ InvalidACLException: Any
55
+ AuthFailedException: Any
56
+ NotEmptyException: Any
57
+ SessionExpiredException: Any
58
+ InvalidCallbackException: Any
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/watchers.pyi ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ log: Any
4
+
5
+ class DataWatch:
6
+ def __init__(self, client, path, func=..., *args, **kwargs) -> None: ...
7
+ def __call__(self, func): ...
8
+
9
+ class ChildrenWatch:
10
+ def __init__(self, client, path, func=..., allow_session_lost=..., send_event=...) -> None: ...
11
+ def __call__(self, func): ...
12
+
13
+ class PatientChildrenWatch:
14
+ client: Any
15
+ path: Any
16
+ children: Any
17
+ time_boundary: Any
18
+ children_changed: Any
19
+ def __init__(self, client, path, time_boundary=...) -> None: ...
20
+ asy: Any
21
+ def start(self): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/pathlib2.pyi ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import sys
3
+ from _typeshed import OpenBinaryMode, OpenBinaryModeReading, OpenBinaryModeUpdating, OpenBinaryModeWriting, OpenTextMode
4
+ from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
5
+ from types import TracebackType
6
+ from typing import IO, Any, BinaryIO, Generator, List, Optional, Sequence, Text, TextIO, Tuple, Type, TypeVar, Union, overload
7
+ from typing_extensions import Literal
8
+
9
+ _P = TypeVar("_P", bound=PurePath)
10
+
11
+ _PurePathBase = object
12
+ _PathLike = PurePath
13
+
14
+ class PurePath(_PurePathBase):
15
+ parts: Tuple[str, ...]
16
+ drive: str
17
+ root: str
18
+ anchor: str
19
+ name: str
20
+ suffix: str
21
+ suffixes: List[str]
22
+ stem: str
23
+ def __new__(cls: Type[_P], *args: Union[str, _PathLike]) -> _P: ...
24
+ def __hash__(self) -> int: ...
25
+ def __lt__(self, other: PurePath) -> bool: ...
26
+ def __le__(self, other: PurePath) -> bool: ...
27
+ def __gt__(self, other: PurePath) -> bool: ...
28
+ def __ge__(self, other: PurePath) -> bool: ...
29
+ def __truediv__(self: _P, key: Union[str, _PathLike]) -> _P: ...
30
+ def __rtruediv__(self: _P, key: Union[str, _PathLike]) -> _P: ...
31
+ def __div__(self: _P, key: Union[str, PurePath]) -> _P: ...
32
+ def __bytes__(self) -> bytes: ...
33
+ def as_posix(self) -> str: ...
34
+ def as_uri(self) -> str: ...
35
+ def is_absolute(self) -> bool: ...
36
+ def is_reserved(self) -> bool: ...
37
+ def match(self, path_pattern: str) -> bool: ...
38
+ def relative_to(self: _P, *other: Union[str, _PathLike]) -> _P: ...
39
+ def with_name(self: _P, name: str) -> _P: ...
40
+ def with_suffix(self: _P, suffix: str) -> _P: ...
41
+ def joinpath(self: _P, *other: Union[str, _PathLike]) -> _P: ...
42
+ @property
43
+ def parents(self: _P) -> Sequence[_P]: ...
44
+ @property
45
+ def parent(self: _P) -> _P: ...
46
+
47
+ class PurePosixPath(PurePath): ...
48
+ class PureWindowsPath(PurePath): ...
49
+
50
+ class Path(PurePath):
51
+ def __new__(cls: Type[_P], *args: Union[str, _PathLike], **kwargs: Any) -> _P: ...
52
+ def __enter__(self) -> Path: ...
53
+ def __exit__(
54
+ self, exc_type: Optional[Type[BaseException]], exc_value: Optional[BaseException], traceback: Optional[TracebackType]
55
+ ) -> Optional[bool]: ...
56
+ @classmethod
57
+ def cwd(cls: Type[_P]) -> _P: ...
58
+ def stat(self) -> os.stat_result: ...
59
+ def chmod(self, mode: int) -> None: ...
60
+ def exists(self) -> bool: ...
61
+ def glob(self, pattern: str) -> Generator[Path, None, None]: ...
62
+ def group(self) -> str: ...
63
+ def is_dir(self) -> bool: ...
64
+ def is_file(self) -> bool: ...
65
+ def is_symlink(self) -> bool: ...
66
+ def is_socket(self) -> bool: ...
67
+ def is_fifo(self) -> bool: ...
68
+ def is_block_device(self) -> bool: ...
69
+ def is_char_device(self) -> bool: ...
70
+ def iterdir(self) -> Generator[Path, None, None]: ...
71
+ def lchmod(self, mode: int) -> None: ...
72
+ def lstat(self) -> os.stat_result: ...
73
+ def mkdir(self, mode: int = ..., parents: bool = ...) -> None: ...
74
+ # Adapted from _io.open
75
+ def open(
76
+ self,
77
+ mode: Text = ...,
78
+ buffering: int = ...,
79
+ encoding: Optional[Text] = ...,
80
+ errors: Optional[Text] = ...,
81
+ newline: Optional[Text] = ...,
82
+ ) -> IO[Any]: ...
83
+ def owner(self) -> str: ...
84
+ def rename(self, target: Union[str, PurePath]) -> None: ...
85
+ def replace(self, target: Union[str, PurePath]) -> None: ...
86
+ def resolve(self: _P) -> _P: ...
87
+ def rglob(self, pattern: str) -> Generator[Path, None, None]: ...
88
+ def rmdir(self) -> None: ...
89
+ def symlink_to(self, target: Union[str, Path], target_is_directory: bool = ...) -> None: ...
90
+ def touch(self, mode: int = ..., exist_ok: bool = ...) -> None: ...
91
+ def unlink(self) -> None: ...
92
+ @classmethod
93
+ def home(cls: Type[_P]) -> _P: ...
94
+ def absolute(self: _P) -> _P: ...
95
+ def expanduser(self: _P) -> _P: ...
96
+ def read_bytes(self) -> bytes: ...
97
+ def read_text(self, encoding: Optional[str] = ..., errors: Optional[str] = ...) -> str: ...
98
+ def samefile(self, other_path: Union[str, bytes, int, Path]) -> bool: ...
99
+ def write_bytes(self, data: bytes) -> int: ...
100
+ def write_text(self, data: str, encoding: Optional[str] = ..., errors: Optional[str] = ...) -> int: ...
101
+
102
+ class PosixPath(Path, PurePosixPath): ...
103
+ class WindowsPath(Path, PureWindowsPath): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/pymssql.pyi ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from datetime import date, datetime, time
2
+ from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union
3
+
4
+ Scalar = Union[int, float, str, datetime, date, time]
5
+ Result = Union[Tuple[Scalar, ...], Dict[str, Scalar]]
6
+
7
+ class Connection(object):
8
+ def __init__(self, user, password, host, database, timeout, login_timeout, charset, as_dict) -> None: ...
9
+ def autocommit(self, status: bool) -> None: ...
10
+ def close(self) -> None: ...
11
+ def commit(self) -> None: ...
12
+ def cursor(self) -> Cursor: ...
13
+ def rollback(self) -> None: ...
14
+
15
+ class Cursor(object):
16
+ def __init__(self) -> None: ...
17
+ def __iter__(self): ...
18
+ def __next__(self) -> Any: ...
19
+ def callproc(self, procname: str, **kwargs) -> None: ...
20
+ def close(self) -> None: ...
21
+ def execute(self, stmt: str, params: Optional[Union[Scalar, Tuple[Scalar, ...], Dict[str, Scalar]]]) -> None: ...
22
+ def executemany(self, stmt: str, params: Optional[Sequence[Tuple[Scalar, ...]]]) -> None: ...
23
+ def fetchall(self) -> List[Result]: ...
24
+ def fetchmany(self, size: Optional[int]) -> List[Result]: ...
25
+ def fetchone(self) -> Result: ...
26
+
27
+ def connect(
28
+ server: Optional[str],
29
+ user: Optional[str],
30
+ password: Optional[str],
31
+ database: Optional[str],
32
+ timeout: Optional[int],
33
+ login_timeout: Optional[int],
34
+ charset: Optional[str],
35
+ as_dict: Optional[bool],
36
+ host: Optional[str],
37
+ appname: Optional[str],
38
+ port: Optional[str],
39
+ conn_properties: Optional[Union[str, Sequence[str]]],
40
+ autocommit: Optional[bool],
41
+ tds_version: Optional[str],
42
+ ) -> Connection: ...
43
+ def get_max_connections() -> int: ...
44
+ def set_max_connections(n: int) -> None: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/__init__.pyi ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from . import mapper, util
2
+
3
+ class _RequestConfig:
4
+ def __getattr__(self, name): ...
5
+ def __setattr__(self, name, value): ...
6
+ def __delattr__(self, name): ...
7
+ def load_wsgi_environ(self, environ): ...
8
+
9
+ def request_config(original=...): ...
10
+
11
+ Mapper = mapper.Mapper
12
+ redirect_to = util.redirect_to
13
+ url_for = util.url_for
14
+ URLGenerator = util.URLGenerator
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/mapper.pyi ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ COLLECTION_ACTIONS: Any
4
+ MEMBER_ACTIONS: Any
5
+
6
+ def strip_slashes(name): ...
7
+
8
+ class SubMapperParent:
9
+ def submapper(self, **kargs): ...
10
+ def collection(
11
+ self,
12
+ collection_name,
13
+ resource_name,
14
+ path_prefix=...,
15
+ member_prefix=...,
16
+ controller=...,
17
+ collection_actions=...,
18
+ member_actions=...,
19
+ member_options=...,
20
+ **kwargs,
21
+ ): ...
22
+
23
+ class SubMapper(SubMapperParent):
24
+ kwargs: Any
25
+ obj: Any
26
+ collection_name: Any
27
+ member: Any
28
+ resource_name: Any
29
+ formatted: Any
30
+ def __init__(self, obj, resource_name=..., collection_name=..., actions=..., formatted=..., **kwargs) -> None: ...
31
+ def connect(self, *args, **kwargs): ...
32
+ def link(self, rel=..., name=..., action=..., method=..., formatted=..., **kwargs): ...
33
+ def new(self, **kwargs): ...
34
+ def edit(self, **kwargs): ...
35
+ def action(self, name=..., action=..., method=..., formatted=..., **kwargs): ...
36
+ def index(self, name=..., **kwargs): ...
37
+ def show(self, name=..., **kwargs): ...
38
+ def create(self, **kwargs): ...
39
+ def update(self, **kwargs): ...
40
+ def delete(self, **kwargs): ...
41
+ def add_actions(self, actions): ...
42
+ def __enter__(self): ...
43
+ def __exit__(self, type, value, tb): ...
44
+
45
+ class Mapper(SubMapperParent):
46
+ matchlist: Any
47
+ maxkeys: Any
48
+ minkeys: Any
49
+ urlcache: Any
50
+ prefix: Any
51
+ req_data: Any
52
+ directory: Any
53
+ always_scan: Any
54
+ controller_scan: Any
55
+ debug: Any
56
+ append_slash: Any
57
+ sub_domains: Any
58
+ sub_domains_ignore: Any
59
+ domain_match: Any
60
+ explicit: Any
61
+ encoding: Any
62
+ decode_errors: Any
63
+ hardcode_names: Any
64
+ minimization: Any
65
+ create_regs_lock: Any
66
+ def __init__(self, controller_scan=..., directory=..., always_scan=..., register=..., explicit=...) -> None: ...
67
+ environ: Any
68
+ def extend(self, routes, path_prefix=...): ...
69
+ def make_route(self, *args, **kargs): ...
70
+ def connect(self, *args, **kargs): ...
71
+ def create_regs(self, *args, **kwargs): ...
72
+ def match(self, url=..., environ=...): ...
73
+ def routematch(self, url=..., environ=...): ...
74
+ obj: Any
75
+ def generate(self, *args, **kargs): ...
76
+ def resource(self, member_name, collection_name, **kwargs): ...
77
+ def redirect(self, match_path, destination_path, *args, **kwargs): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/routes/util.pyi ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ class RoutesException(Exception): ...
4
+ class MatchException(RoutesException): ...
5
+ class GenerationException(RoutesException): ...
6
+
7
+ def url_for(*args, **kargs): ...
8
+
9
+ class URLGenerator:
10
+ mapper: Any
11
+ environ: Any
12
+ def __init__(self, mapper, environ) -> None: ...
13
+ def __call__(self, *args, **kargs): ...
14
+ def current(self, *args, **kwargs): ...
15
+
16
+ def redirect_to(*args, **kargs): ...
17
+ def cache_hostinfo(environ): ...
18
+ def controller_scan(directory=...): ...
19
+ def as_unicode(value, encoding, errors=...): ...
20
+ def ascii_characters(string): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/__init__.pyi ADDED
File without changes
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/scribe.pyi ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ import fb303.FacebookService
4
+ from thrift.Thrift import TProcessor # type: ignore # We don't have thrift stubs in typeshed
5
+
6
+ from .ttypes import * # noqa: F403
7
+
8
+ class Iface(fb303.FacebookService.Iface):
9
+ def Log(self, messages): ...
10
+
11
+ class Client(fb303.FacebookService.Client, Iface):
12
+ def __init__(self, iprot, oprot=...) -> None: ...
13
+ def Log(self, messages): ...
14
+ def send_Log(self, messages): ...
15
+ def recv_Log(self): ...
16
+
17
+ class Processor(fb303.FacebookService.Processor, Iface, TProcessor): # type: ignore
18
+ def __init__(self, handler) -> None: ...
19
+ def process(self, iprot, oprot): ...
20
+ def process_Log(self, seqid, iprot, oprot): ...
21
+
22
+ class Log_args:
23
+ thrift_spec: Any
24
+ messages: Any
25
+ def __init__(self, messages=...) -> None: ...
26
+ def read(self, iprot): ...
27
+ def write(self, oprot): ...
28
+ def validate(self): ...
29
+ def __eq__(self, other): ...
30
+ def __ne__(self, other): ...
31
+
32
+ class Log_result:
33
+ thrift_spec: Any
34
+ success: Any
35
+ def __init__(self, success=...) -> None: ...
36
+ def read(self, iprot): ...
37
+ def write(self, oprot): ...
38
+ def validate(self): ...
39
+ def __eq__(self, other): ...
40
+ def __ne__(self, other): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/scribe/ttypes.pyi ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ fastbinary: Any
4
+
5
+ class ResultCode:
6
+ OK: Any
7
+ TRY_LATER: Any
8
+
9
+ class LogEntry:
10
+ thrift_spec: Any
11
+ category: Any
12
+ message: Any
13
+ def __init__(self, category=..., message=...) -> None: ...
14
+ def read(self, iprot): ...
15
+ def write(self, oprot): ...
16
+ def validate(self): ...
17
+ def __eq__(self, other): ...
18
+ def __ne__(self, other): ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/__init__.pyi ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import print_function
2
+
3
+ import types
4
+ import typing
5
+ import unittest
6
+ from __builtin__ import unichr as unichr
7
+ from functools import wraps as wraps
8
+ from StringIO import StringIO as StringIO
9
+ from typing import (
10
+ Any,
11
+ AnyStr,
12
+ Callable,
13
+ Dict,
14
+ ItemsView,
15
+ Iterable,
16
+ KeysView,
17
+ Mapping,
18
+ NoReturn,
19
+ Optional,
20
+ Pattern,
21
+ Text,
22
+ Tuple,
23
+ Type,
24
+ TypeVar,
25
+ Union,
26
+ ValuesView,
27
+ overload,
28
+ )
29
+
30
+ from . import moves
31
+
32
+ BytesIO = StringIO
33
+
34
+ _T = TypeVar("_T")
35
+ _K = TypeVar("_K")
36
+ _V = TypeVar("_V")
37
+
38
+ __version__: str
39
+
40
+ # TODO make constant, then move this stub to 2and3
41
+ # https://github.com/python/typeshed/issues/17
42
+ PY2 = True
43
+ PY3 = False
44
+ PY34 = False
45
+
46
+ string_types = (str, unicode)
47
+ integer_types = (int, long)
48
+ class_types = (type, types.ClassType)
49
+ text_type = unicode
50
+ binary_type = str
51
+
52
+ MAXSIZE: int
53
+
54
+ def advance_iterator(it: typing.Iterator[_T]) -> _T: ...
55
+
56
+ next = advance_iterator
57
+
58
+ def callable(obj: object) -> bool: ...
59
+ def get_unbound_function(unbound: types.MethodType) -> types.FunctionType: ...
60
+ def create_bound_method(func: types.FunctionType, obj: object) -> types.MethodType: ...
61
+ def create_unbound_method(func: types.FunctionType, cls: Union[type, types.ClassType]) -> types.MethodType: ...
62
+
63
+ class Iterator:
64
+ def next(self) -> Any: ...
65
+
66
+ def get_method_function(meth: types.MethodType) -> types.FunctionType: ...
67
+ def get_method_self(meth: types.MethodType) -> Optional[object]: ...
68
+ def get_function_closure(fun: types.FunctionType) -> Optional[Tuple[types._Cell, ...]]: ...
69
+ def get_function_code(fun: types.FunctionType) -> types.CodeType: ...
70
+ def get_function_defaults(fun: types.FunctionType) -> Optional[Tuple[Any, ...]]: ...
71
+ def get_function_globals(fun: types.FunctionType) -> Dict[str, Any]: ...
72
+ def iterkeys(d: Mapping[_K, _V]) -> typing.Iterator[_K]: ...
73
+ def itervalues(d: Mapping[_K, _V]) -> typing.Iterator[_V]: ...
74
+ def iteritems(d: Mapping[_K, _V]) -> typing.Iterator[Tuple[_K, _V]]: ...
75
+
76
+ # def iterlists
77
+
78
+ def viewkeys(d: Mapping[_K, _V]) -> KeysView[_K]: ...
79
+ def viewvalues(d: Mapping[_K, _V]) -> ValuesView[_V]: ...
80
+ def viewitems(d: Mapping[_K, _V]) -> ItemsView[_K, _V]: ...
81
+ def b(s: str) -> binary_type: ...
82
+ def u(s: str) -> text_type: ...
83
+
84
+ int2byte = chr
85
+
86
+ def byte2int(bs: binary_type) -> int: ...
87
+ def indexbytes(buf: binary_type, i: int) -> int: ...
88
+ def iterbytes(buf: binary_type) -> typing.Iterator[int]: ...
89
+ def assertCountEqual(self: unittest.TestCase, first: Iterable[_T], second: Iterable[_T], msg: str = ...) -> None: ...
90
+ @overload
91
+ def assertRaisesRegex(self: unittest.TestCase, msg: str = ...) -> Any: ...
92
+ @overload
93
+ def assertRaisesRegex(self: unittest.TestCase, callable_obj: Callable[..., Any], *args: Any, **kwargs: Any) -> Any: ...
94
+ def assertRegex(
95
+ self: unittest.TestCase, text: AnyStr, expected_regex: Union[AnyStr, Pattern[AnyStr]], msg: str = ...
96
+ ) -> None: ...
97
+ def reraise(
98
+ tp: Optional[Type[BaseException]], value: Optional[BaseException], tb: Optional[types.TracebackType] = ...
99
+ ) -> NoReturn: ...
100
+ def exec_(_code_: Union[unicode, types.CodeType], _globs_: Dict[str, Any] = ..., _locs_: Dict[str, Any] = ...): ...
101
+ def raise_from(value: Union[BaseException, Type[BaseException]], from_value: Optional[BaseException]) -> NoReturn: ...
102
+
103
+ print_ = print
104
+
105
+ def with_metaclass(meta: type, *bases: type) -> type: ...
106
+ def add_metaclass(metaclass: type) -> Callable[[_T], _T]: ...
107
+ def ensure_binary(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> bytes: ...
108
+ def ensure_str(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> str: ...
109
+ def ensure_text(s: Union[bytes, Text], encoding: str = ..., errors: str = ...) -> Text: ...
110
+ def python_2_unicode_compatible(klass: _T) -> _T: ...
111
+
112
+ class _LazyDescriptor:
113
+ name: str
114
+ def __init__(self, name: str) -> None: ...
115
+ def __get__(self, obj: Optional[object], type: Optional[type] = ...) -> Any: ...
116
+
117
+ class MovedModule(_LazyDescriptor):
118
+ mod: str
119
+ def __init__(self, name: str, old: str, new: Optional[str] = ...) -> None: ...
120
+ def __getattr__(self, attr: str) -> Any: ...
121
+
122
+ class MovedAttribute(_LazyDescriptor):
123
+ mod: str
124
+ attr: str
125
+ def __init__(
126
+ self, name: str, old_mod: str, new_mod: str, old_attr: Optional[str] = ..., new_attr: Optional[str] = ...
127
+ ) -> None: ...
128
+
129
+ def add_move(move: Union[MovedModule, MovedAttribute]) -> None: ...
130
+ def remove_move(name: str) -> None: ...
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/BaseHTTPServer.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from BaseHTTPServer import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/CGIHTTPServer.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from CGIHTTPServer import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/SimpleHTTPServer.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from SimpleHTTPServer import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/__init__.pyi ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Stubs for six.moves
2
+ #
3
+ # Note: Commented out items means they weren't implemented at the time.
4
+ # Uncomment them when the modules have been added to the typeshed.
5
+ import __builtin__
6
+ import itertools
7
+ import os
8
+ import pipes
9
+ from __builtin__ import intern as intern, reduce as reduce, xrange as xrange
10
+ from cStringIO import StringIO as _cStringIO
11
+ from StringIO import StringIO as StringIO
12
+ from UserDict import UserDict as UserDict
13
+ from UserList import UserList as UserList
14
+ from UserString import UserString as UserString
15
+
16
+ # import Tkinter as tkinter
17
+ # import Dialog as tkinter_dialog
18
+ # import FileDialog as tkinter_filedialog
19
+ # import ScrolledText as tkinter_scrolledtext
20
+ # import SimpleDialog as tkinter_simpledialog
21
+ # import Tix as tkinter_tix
22
+ # import ttk as tkinter_ttk
23
+ # import Tkconstants as tkinter_constants
24
+ # import Tkdnd as tkinter_dnd
25
+ # import tkColorChooser as tkinter_colorchooser
26
+ # import tkCommonDialog as tkinter_commondialog
27
+ # import tkFileDialog as tkinter_tkfiledialog
28
+ # import tkFont as tkinter_font
29
+ # import tkMessageBox as tkinter_messagebox
30
+ # import tkSimpleDialog as tkinter_tksimpledialog
31
+ # import email.MIMEBase as email_mime_base
32
+ # import email.MIMEMultipart as email_mime_multipart
33
+ # import email.MIMENonMultipart as email_mime_nonmultipart
34
+ # import copy_reg as copyreg
35
+ # import gdbm as dbm_gnu
36
+ from . import (
37
+ BaseHTTPServer,
38
+ CGIHTTPServer,
39
+ SimpleHTTPServer,
40
+ _dummy_thread,
41
+ _thread,
42
+ configparser,
43
+ cPickle,
44
+ email_mime_text,
45
+ html_entities,
46
+ html_parser,
47
+ http_client,
48
+ http_cookiejar,
49
+ http_cookies,
50
+ queue,
51
+ reprlib,
52
+ socketserver,
53
+ urllib,
54
+ urllib_error,
55
+ urllib_parse,
56
+ urllib_robotparser,
57
+ xmlrpc_client,
58
+ )
59
+
60
+ # import SimpleXMLRPCServer as xmlrpc_server
61
+
62
+ builtins = __builtin__
63
+ input = __builtin__.raw_input
64
+ reload_module = __builtin__.reload
65
+ range = __builtin__.xrange
66
+
67
+ cStringIO = _cStringIO
68
+
69
+ filter = itertools.ifilter
70
+ filterfalse = itertools.ifilterfalse
71
+ map = itertools.imap
72
+ zip = itertools.izip
73
+ zip_longest = itertools.izip_longest
74
+
75
+ getcwdb = os.getcwd
76
+ getcwd = os.getcwdu
77
+
78
+ shlex_quote = pipes.quote
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_dummy_thread.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from dummy_thread import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_thread.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from thread import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/cPickle.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from cPickle import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/collections_abc.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from collections import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/configparser.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from ConfigParser import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_base.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from email.mime.base import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_multipart.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from email.mime.multipart import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_nonmultipart.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from email.mime.nonmultipart import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_text.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from email.MIMEText import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_entities.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from htmlentitydefs import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_parser.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from HTMLParser import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_client.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from httplib import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookiejar.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from cookielib import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookies.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from Cookie import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/queue.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from Queue import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/reprlib.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from repr import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/socketserver.pyi ADDED
@@ -0,0 +1 @@
 
 
1
+ from SocketServer import *
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/__init__.pyi ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import six.moves.urllib.error as error
2
+ import six.moves.urllib.parse as parse
3
+ import six.moves.urllib.request as request
4
+ import six.moves.urllib.response as response
5
+ import six.moves.urllib.robotparser as robotparser
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/error.pyi ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ from urllib import ContentTooShortError as ContentTooShortError
2
+ from urllib2 import HTTPError as HTTPError, URLError as URLError
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/parse.pyi ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from urllib import (
2
+ quote as quote,
3
+ quote_plus as quote_plus,
4
+ splitquery as splitquery,
5
+ splittag as splittag,
6
+ splituser as splituser,
7
+ unquote as unquote,
8
+ unquote_plus as unquote_plus,
9
+ urlencode as urlencode,
10
+ )
11
+ from urlparse import (
12
+ ParseResult as ParseResult,
13
+ SplitResult as SplitResult,
14
+ parse_qs as parse_qs,
15
+ parse_qsl as parse_qsl,
16
+ urldefrag as urldefrag,
17
+ urljoin as urljoin,
18
+ urlparse as urlparse,
19
+ urlsplit as urlsplit,
20
+ urlunparse as urlunparse,
21
+ urlunsplit as urlunsplit,
22
+ uses_fragment as uses_fragment,
23
+ uses_netloc as uses_netloc,
24
+ uses_params as uses_params,
25
+ uses_query as uses_query,
26
+ uses_relative as uses_relative,
27
+ )
28
+
29
+ unquote_to_bytes = unquote
lib/python3.12/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/request.pyi ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from urllib import (
2
+ FancyURLopener as FancyURLopener,
3
+ URLopener as URLopener,
4
+ getproxies as getproxies,
5
+ pathname2url as pathname2url,
6
+ proxy_bypass as proxy_bypass,
7
+ url2pathname as url2pathname,
8
+ urlcleanup as urlcleanup,
9
+ urlretrieve as urlretrieve,
10
+ )
11
+ from urllib2 import (
12
+ AbstractBasicAuthHandler as AbstractBasicAuthHandler,
13
+ AbstractDigestAuthHandler as AbstractDigestAuthHandler,
14
+ BaseHandler as BaseHandler,
15
+ CacheFTPHandler as CacheFTPHandler,
16
+ FileHandler as FileHandler,
17
+ FTPHandler as FTPHandler,
18
+ HTTPBasicAuthHandler as HTTPBasicAuthHandler,
19
+ HTTPCookieProcessor as HTTPCookieProcessor,
20
+ HTTPDefaultErrorHandler as HTTPDefaultErrorHandler,
21
+ HTTPDigestAuthHandler as HTTPDigestAuthHandler,
22
+ HTTPErrorProcessor as HTTPErrorProcessor,
23
+ HTTPHandler as HTTPHandler,
24
+ HTTPPasswordMgr as HTTPPasswordMgr,
25
+ HTTPPasswordMgrWithDefaultRealm as HTTPPasswordMgrWithDefaultRealm,
26
+ HTTPRedirectHandler as HTTPRedirectHandler,
27
+ HTTPSHandler as HTTPSHandler,
28
+ OpenerDirector as OpenerDirector,
29
+ ProxyBasicAuthHandler as ProxyBasicAuthHandler,
30
+ ProxyDigestAuthHandler as ProxyDigestAuthHandler,
31
+ ProxyHandler as ProxyHandler,
32
+ Request as Request,
33
+ UnknownHandler as UnknownHandler,
34
+ build_opener as build_opener,
35
+ install_opener as install_opener,
36
+ parse_http_list as parse_http_list,
37
+ parse_keqv_list as parse_keqv_list,
38
+ urlopen as urlopen,
39
+ )