Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/django-stubs/LICENSE.txt +8 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/OpenSSL/crypto.pyi +191 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/__init__.pyi +0 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/_base.pyi +92 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/process.pyi +8 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/futures/thread.pyi +16 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/fb303/FacebookService.pyi +298 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/fb303/__init__.pyi +0 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/__init__.pyi +0 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/client.pyi +109 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/exceptions.pyi +58 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/__init__.pyi +0 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/watchers.pyi +21 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/routes/__init__.pyi +14 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/scribe/__init__.pyi +0 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/scribe/scribe.pyi +40 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/scribe/ttypes.pyi +18 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/__init__.pyi +130 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/BaseHTTPServer.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/CGIHTTPServer.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/SimpleHTTPServer.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/__init__.pyi +78 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_dummy_thread.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_thread.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/cPickle.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/collections_abc.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/configparser.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_base.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_multipart.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_nonmultipart.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_text.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_entities.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_parser.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_client.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookiejar.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookies.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/queue.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/reprlib.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/socketserver.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/__init__.pyi +5 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/error.pyi +2 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/parse.pyi +29 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/request.pyi +39 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/response.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/robotparser.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_error.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_parse.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_request.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_response.pyi +1 -0
- mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_robotparser.pyi +1 -0
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/django-stubs/LICENSE.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) Maxim Kurnikov.
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 5 |
+
|
| 6 |
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| 7 |
+
|
| 8 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/concurrent/__init__.pyi
ADDED
|
File without changes
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/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): ...
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/fb303/__init__.pyi
ADDED
|
File without changes
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/__init__.pyi
ADDED
|
File without changes
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/kazoo/recipe/__init__.pyi
ADDED
|
File without changes
|
mantis_evalkit/lib/python3.10/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): ...
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/scribe/__init__.pyi
ADDED
|
File without changes
|
mantis_evalkit/lib/python3.10/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): ...
|
mantis_evalkit/lib/python3.10/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): ...
|
mantis_evalkit/lib/python3.10/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: ...
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/BaseHTTPServer.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from BaseHTTPServer import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/CGIHTTPServer.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from CGIHTTPServer import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/SimpleHTTPServer.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from SimpleHTTPServer import *
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_dummy_thread.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from dummy_thread import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/_thread.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from thread import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/cPickle.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from cPickle import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/collections_abc.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from collections import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/configparser.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from ConfigParser import *
|
mantis_evalkit/lib/python3.10/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 *
|
mantis_evalkit/lib/python3.10/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 *
|
mantis_evalkit/lib/python3.10/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 *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/email_mime_text.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from email.MIMEText import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_entities.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from htmlentitydefs import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/html_parser.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from HTMLParser import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_client.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from httplib import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookiejar.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from cookielib import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/http_cookies.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from Cookie import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/queue.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from Queue import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/reprlib.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from repr import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/socketserver.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from SocketServer import *
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/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
|
mantis_evalkit/lib/python3.10/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 |
+
)
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/response.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from urllib import addbase as addbase, addclosehook as addclosehook, addinfo as addinfo, addinfourl as addinfourl
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib/robotparser.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from robotparser import RobotFileParser as RobotFileParser
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_error.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from .urllib.error import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_parse.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from .urllib.parse import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_request.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from .urllib.request import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_response.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from .urllib.response import *
|
mantis_evalkit/lib/python3.10/site-packages/jedi/third_party/typeshed/third_party/2/six/moves/urllib_robotparser.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from robotparser import *
|