Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/__init__.pyi +257 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/_version_info.pyi +9 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/converters.pyi +11 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/exceptions.pyi +15 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/filters.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/validators.pyi +54 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/_common.pyi +12 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/easter.pyi +8 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/parser.pyi +51 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/relativedelta.pyi +97 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/rrule.pyi +105 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/__init__.pyi +15 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/_common.pyi +24 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/tz.pyi +101 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/utils.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/__init__.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/classic.pyi +21 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/sphinx.pyi +31 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/database.pyi +27 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/errors.pyi +14 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/mixins.pyi +3 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/models.pyi +62 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/records.pyi +83 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/__init__.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/compat.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/const.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/decoder.pyi +5 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/errors.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/extension.pyi +33 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/reader.pyi +34 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/__init__.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/nmap.pyi +122 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/__init__.pyi +69 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/event.pyi +16 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/fault.pyi +7 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/option.pyi +9 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/view.pyi +15 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/__init__.pyi +5 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/fault.pyi +5 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/query.pyi +38 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/adapters.pyi +73 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/hooks.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/__init__.pyi +4 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/__init__.pyi +26 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/_collections.pyi +52 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connection.pyi +65 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connectionpool.pyi +121 -0
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/__init__.pyi
ADDED
@@ -0,0 +1,257 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Callable, Dict, Generic, List, Mapping, Optional, Sequence, Tuple, Type, TypeVar, Union, overload
|
2 |
+
|
3 |
+
# `import X as X` is required to make these public
|
4 |
+
from . import converters as converters, exceptions as exceptions, filters as filters, validators as validators
|
5 |
+
from ._version_info import VersionInfo
|
6 |
+
|
7 |
+
__version__: str
|
8 |
+
__version_info__: VersionInfo
|
9 |
+
__title__: str
|
10 |
+
__description__: str
|
11 |
+
__url__: str
|
12 |
+
__uri__: str
|
13 |
+
__author__: str
|
14 |
+
__email__: str
|
15 |
+
__license__: str
|
16 |
+
__copyright__: str
|
17 |
+
|
18 |
+
_T = TypeVar("_T")
|
19 |
+
_C = TypeVar("_C", bound=type)
|
20 |
+
|
21 |
+
_ValidatorType = Callable[[Any, Attribute[_T], _T], Any]
|
22 |
+
_ConverterType = Callable[[Any], _T]
|
23 |
+
_FilterType = Callable[[Attribute[_T], _T], bool]
|
24 |
+
_ReprType = Callable[[Any], str]
|
25 |
+
_ReprArgType = Union[bool, _ReprType]
|
26 |
+
# FIXME: in reality, if multiple validators are passed they must be in a list or tuple,
|
27 |
+
# but those are invariant and so would prevent subtypes of _ValidatorType from working
|
28 |
+
# when passed in a list or tuple.
|
29 |
+
_ValidatorArgType = Union[_ValidatorType[_T], Sequence[_ValidatorType[_T]]]
|
30 |
+
|
31 |
+
# _make --
|
32 |
+
|
33 |
+
NOTHING: object
|
34 |
+
|
35 |
+
# NOTE: Factory lies about its return type to make this possible: `x: List[int] = Factory(list)`
|
36 |
+
# Work around mypy issue #4554 in the common case by using an overload.
|
37 |
+
@overload
|
38 |
+
def Factory(factory: Callable[[], _T]) -> _T: ...
|
39 |
+
@overload
|
40 |
+
def Factory(factory: Union[Callable[[Any], _T], Callable[[], _T]], takes_self: bool = ...) -> _T: ...
|
41 |
+
|
42 |
+
class Attribute(Generic[_T]):
|
43 |
+
name: str
|
44 |
+
default: Optional[_T]
|
45 |
+
validator: Optional[_ValidatorType[_T]]
|
46 |
+
repr: _ReprArgType
|
47 |
+
cmp: bool
|
48 |
+
eq: bool
|
49 |
+
order: bool
|
50 |
+
hash: Optional[bool]
|
51 |
+
init: bool
|
52 |
+
converter: Optional[_ConverterType[_T]]
|
53 |
+
metadata: Dict[Any, Any]
|
54 |
+
type: Optional[Type[_T]]
|
55 |
+
kw_only: bool
|
56 |
+
|
57 |
+
# NOTE: We had several choices for the annotation to use for type arg:
|
58 |
+
# 1) Type[_T]
|
59 |
+
# - Pros: Handles simple cases correctly
|
60 |
+
# - Cons: Might produce less informative errors in the case of conflicting TypeVars
|
61 |
+
# e.g. `attr.ib(default='bad', type=int)`
|
62 |
+
# 2) Callable[..., _T]
|
63 |
+
# - Pros: Better error messages than #1 for conflicting TypeVars
|
64 |
+
# - Cons: Terrible error messages for validator checks.
|
65 |
+
# e.g. attr.ib(type=int, validator=validate_str)
|
66 |
+
# -> error: Cannot infer function type argument
|
67 |
+
# 3) type (and do all of the work in the mypy plugin)
|
68 |
+
# - Pros: Simple here, and we could customize the plugin with our own errors.
|
69 |
+
# - Cons: Would need to write mypy plugin code to handle all the cases.
|
70 |
+
# We chose option #1.
|
71 |
+
|
72 |
+
# `attr` lies about its return type to make the following possible:
|
73 |
+
# attr() -> Any
|
74 |
+
# attr(8) -> int
|
75 |
+
# attr(validator=<some callable>) -> Whatever the callable expects.
|
76 |
+
# This makes this type of assignments possible:
|
77 |
+
# x: int = attr(8)
|
78 |
+
#
|
79 |
+
# This form catches explicit None or no default but with no other arguments returns Any.
|
80 |
+
@overload
|
81 |
+
def attrib(
|
82 |
+
default: None = ...,
|
83 |
+
validator: None = ...,
|
84 |
+
repr: _ReprArgType = ...,
|
85 |
+
cmp: Optional[bool] = ...,
|
86 |
+
hash: Optional[bool] = ...,
|
87 |
+
init: bool = ...,
|
88 |
+
metadata: Optional[Mapping[Any, Any]] = ...,
|
89 |
+
type: None = ...,
|
90 |
+
converter: None = ...,
|
91 |
+
factory: None = ...,
|
92 |
+
kw_only: bool = ...,
|
93 |
+
eq: Optional[bool] = ...,
|
94 |
+
order: Optional[bool] = ...,
|
95 |
+
) -> Any: ...
|
96 |
+
|
97 |
+
# This form catches an explicit None or no default and infers the type from the other arguments.
|
98 |
+
@overload
|
99 |
+
def attrib(
|
100 |
+
default: None = ...,
|
101 |
+
validator: Optional[_ValidatorArgType[_T]] = ...,
|
102 |
+
repr: _ReprArgType = ...,
|
103 |
+
cmp: Optional[bool] = ...,
|
104 |
+
hash: Optional[bool] = ...,
|
105 |
+
init: bool = ...,
|
106 |
+
metadata: Optional[Mapping[Any, Any]] = ...,
|
107 |
+
type: Optional[Type[_T]] = ...,
|
108 |
+
converter: Optional[_ConverterType[_T]] = ...,
|
109 |
+
factory: Optional[Callable[[], _T]] = ...,
|
110 |
+
kw_only: bool = ...,
|
111 |
+
eq: Optional[bool] = ...,
|
112 |
+
order: Optional[bool] = ...,
|
113 |
+
) -> _T: ...
|
114 |
+
|
115 |
+
# This form catches an explicit default argument.
|
116 |
+
@overload
|
117 |
+
def attrib(
|
118 |
+
default: _T,
|
119 |
+
validator: Optional[_ValidatorArgType[_T]] = ...,
|
120 |
+
repr: _ReprArgType = ...,
|
121 |
+
cmp: Optional[bool] = ...,
|
122 |
+
hash: Optional[bool] = ...,
|
123 |
+
init: bool = ...,
|
124 |
+
metadata: Optional[Mapping[Any, Any]] = ...,
|
125 |
+
type: Optional[Type[_T]] = ...,
|
126 |
+
converter: Optional[_ConverterType[_T]] = ...,
|
127 |
+
factory: Optional[Callable[[], _T]] = ...,
|
128 |
+
kw_only: bool = ...,
|
129 |
+
eq: Optional[bool] = ...,
|
130 |
+
order: Optional[bool] = ...,
|
131 |
+
) -> _T: ...
|
132 |
+
|
133 |
+
# This form covers type=non-Type: e.g. forward references (str), Any
|
134 |
+
@overload
|
135 |
+
def attrib(
|
136 |
+
default: Optional[_T] = ...,
|
137 |
+
validator: Optional[_ValidatorArgType[_T]] = ...,
|
138 |
+
repr: _ReprArgType = ...,
|
139 |
+
cmp: Optional[bool] = ...,
|
140 |
+
hash: Optional[bool] = ...,
|
141 |
+
init: bool = ...,
|
142 |
+
metadata: Optional[Mapping[Any, Any]] = ...,
|
143 |
+
type: object = ...,
|
144 |
+
converter: Optional[_ConverterType[_T]] = ...,
|
145 |
+
factory: Optional[Callable[[], _T]] = ...,
|
146 |
+
kw_only: bool = ...,
|
147 |
+
eq: Optional[bool] = ...,
|
148 |
+
order: Optional[bool] = ...,
|
149 |
+
) -> Any: ...
|
150 |
+
@overload
|
151 |
+
def attrs(
|
152 |
+
maybe_cls: _C,
|
153 |
+
these: Optional[Dict[str, Any]] = ...,
|
154 |
+
repr_ns: Optional[str] = ...,
|
155 |
+
repr: bool = ...,
|
156 |
+
cmp: Optional[bool] = ...,
|
157 |
+
hash: Optional[bool] = ...,
|
158 |
+
init: bool = ...,
|
159 |
+
slots: bool = ...,
|
160 |
+
frozen: bool = ...,
|
161 |
+
weakref_slot: bool = ...,
|
162 |
+
str: bool = ...,
|
163 |
+
auto_attribs: bool = ...,
|
164 |
+
kw_only: bool = ...,
|
165 |
+
cache_hash: bool = ...,
|
166 |
+
auto_exc: bool = ...,
|
167 |
+
eq: Optional[bool] = ...,
|
168 |
+
order: Optional[bool] = ...,
|
169 |
+
) -> _C: ...
|
170 |
+
@overload
|
171 |
+
def attrs(
|
172 |
+
maybe_cls: None = ...,
|
173 |
+
these: Optional[Dict[str, Any]] = ...,
|
174 |
+
repr_ns: Optional[str] = ...,
|
175 |
+
repr: bool = ...,
|
176 |
+
cmp: Optional[bool] = ...,
|
177 |
+
hash: Optional[bool] = ...,
|
178 |
+
init: bool = ...,
|
179 |
+
slots: bool = ...,
|
180 |
+
frozen: bool = ...,
|
181 |
+
weakref_slot: bool = ...,
|
182 |
+
str: bool = ...,
|
183 |
+
auto_attribs: bool = ...,
|
184 |
+
kw_only: bool = ...,
|
185 |
+
cache_hash: bool = ...,
|
186 |
+
auto_exc: bool = ...,
|
187 |
+
eq: Optional[bool] = ...,
|
188 |
+
order: Optional[bool] = ...,
|
189 |
+
) -> Callable[[_C], _C]: ...
|
190 |
+
|
191 |
+
# TODO: add support for returning NamedTuple from the mypy plugin
|
192 |
+
class _Fields(Tuple[Attribute[Any], ...]):
|
193 |
+
def __getattr__(self, name: str) -> Attribute[Any]: ...
|
194 |
+
|
195 |
+
def fields(cls: type) -> _Fields: ...
|
196 |
+
def fields_dict(cls: type) -> Dict[str, Attribute[Any]]: ...
|
197 |
+
def validate(inst: Any) -> None: ...
|
198 |
+
|
199 |
+
# TODO: add support for returning a proper attrs class from the mypy plugin
|
200 |
+
# we use Any instead of _CountingAttr so that e.g. `make_class('Foo', [attr.ib()])` is valid
|
201 |
+
def make_class(
|
202 |
+
name: str,
|
203 |
+
attrs: Union[List[str], Tuple[str, ...], Dict[str, Any]],
|
204 |
+
bases: Tuple[type, ...] = ...,
|
205 |
+
repr_ns: Optional[str] = ...,
|
206 |
+
repr: bool = ...,
|
207 |
+
cmp: Optional[bool] = ...,
|
208 |
+
hash: Optional[bool] = ...,
|
209 |
+
init: bool = ...,
|
210 |
+
slots: bool = ...,
|
211 |
+
frozen: bool = ...,
|
212 |
+
weakref_slot: bool = ...,
|
213 |
+
str: bool = ...,
|
214 |
+
auto_attribs: bool = ...,
|
215 |
+
kw_only: bool = ...,
|
216 |
+
cache_hash: bool = ...,
|
217 |
+
auto_exc: bool = ...,
|
218 |
+
eq: Optional[bool] = ...,
|
219 |
+
order: Optional[bool] = ...,
|
220 |
+
) -> type: ...
|
221 |
+
|
222 |
+
# _funcs --
|
223 |
+
|
224 |
+
# TODO: add support for returning TypedDict from the mypy plugin
|
225 |
+
# FIXME: asdict/astuple do not honor their factory args. waiting on one of these:
|
226 |
+
# https://github.com/python/mypy/issues/4236
|
227 |
+
# https://github.com/python/typing/issues/253
|
228 |
+
def asdict(
|
229 |
+
inst: Any,
|
230 |
+
recurse: bool = ...,
|
231 |
+
filter: Optional[_FilterType[Any]] = ...,
|
232 |
+
dict_factory: Type[Mapping[Any, Any]] = ...,
|
233 |
+
retain_collection_types: bool = ...,
|
234 |
+
) -> Dict[str, Any]: ...
|
235 |
+
|
236 |
+
# TODO: add support for returning NamedTuple from the mypy plugin
|
237 |
+
def astuple(
|
238 |
+
inst: Any,
|
239 |
+
recurse: bool = ...,
|
240 |
+
filter: Optional[_FilterType[Any]] = ...,
|
241 |
+
tuple_factory: Type[Sequence[Any]] = ...,
|
242 |
+
retain_collection_types: bool = ...,
|
243 |
+
) -> Tuple[Any, ...]: ...
|
244 |
+
def has(cls: type) -> bool: ...
|
245 |
+
def assoc(inst: _T, **changes: Any) -> _T: ...
|
246 |
+
def evolve(inst: _T, **changes: Any) -> _T: ...
|
247 |
+
|
248 |
+
# _config --
|
249 |
+
|
250 |
+
def set_run_validators(run: bool) -> None: ...
|
251 |
+
def get_run_validators() -> bool: ...
|
252 |
+
|
253 |
+
# aliases --
|
254 |
+
|
255 |
+
s = attributes = attrs
|
256 |
+
ib = attr = attrib
|
257 |
+
dataclass = attrs # Technically, partial(attrs, auto_attribs=True) ;)
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/_version_info.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class VersionInfo:
|
2 |
+
@property
|
3 |
+
def year(self) -> int: ...
|
4 |
+
@property
|
5 |
+
def minor(self) -> int: ...
|
6 |
+
@property
|
7 |
+
def micro(self) -> int: ...
|
8 |
+
@property
|
9 |
+
def releaselevel(self) -> str: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/converters.pyi
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Callable, Optional, TypeVar, overload
|
2 |
+
|
3 |
+
from . import _ConverterType
|
4 |
+
|
5 |
+
_T = TypeVar("_T")
|
6 |
+
|
7 |
+
def optional(converter: _ConverterType[_T]) -> _ConverterType[Optional[_T]]: ...
|
8 |
+
@overload
|
9 |
+
def default_if_none(default: _T) -> _ConverterType[_T]: ...
|
10 |
+
@overload
|
11 |
+
def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType[_T]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/exceptions.pyi
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
class FrozenInstanceError(AttributeError):
|
4 |
+
msg: str = ...
|
5 |
+
|
6 |
+
class AttrsAttributeNotFoundError(ValueError): ...
|
7 |
+
class NotAnAttrsClassError(ValueError): ...
|
8 |
+
class DefaultAlreadySetError(RuntimeError): ...
|
9 |
+
class UnannotatedAttributeError(RuntimeError): ...
|
10 |
+
class PythonTooOldError(RuntimeError): ...
|
11 |
+
|
12 |
+
class NotCallableError(TypeError):
|
13 |
+
msg: str = ...
|
14 |
+
value: Any = ...
|
15 |
+
def __init__(self, msg: str, value: Any) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/filters.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Union
|
2 |
+
|
3 |
+
from . import Attribute, _FilterType
|
4 |
+
|
5 |
+
def include(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...
|
6 |
+
def exclude(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/attr/validators.pyi
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import (
|
2 |
+
Any,
|
3 |
+
AnyStr,
|
4 |
+
Callable,
|
5 |
+
Container,
|
6 |
+
Iterable,
|
7 |
+
List,
|
8 |
+
Mapping,
|
9 |
+
Match,
|
10 |
+
Optional,
|
11 |
+
Tuple,
|
12 |
+
Type,
|
13 |
+
TypeVar,
|
14 |
+
Union,
|
15 |
+
overload,
|
16 |
+
)
|
17 |
+
|
18 |
+
from . import _ValidatorType
|
19 |
+
|
20 |
+
_T = TypeVar("_T")
|
21 |
+
_T1 = TypeVar("_T1")
|
22 |
+
_T2 = TypeVar("_T2")
|
23 |
+
_T3 = TypeVar("_T3")
|
24 |
+
_I = TypeVar("_I", bound=Iterable)
|
25 |
+
_K = TypeVar("_K")
|
26 |
+
_V = TypeVar("_V")
|
27 |
+
_M = TypeVar("_M", bound=Mapping)
|
28 |
+
|
29 |
+
# To be more precise on instance_of use some overloads.
|
30 |
+
# If there are more than 3 items in the tuple then we fall back to Any
|
31 |
+
@overload
|
32 |
+
def instance_of(type: Type[_T]) -> _ValidatorType[_T]: ...
|
33 |
+
@overload
|
34 |
+
def instance_of(type: Tuple[Type[_T]]) -> _ValidatorType[_T]: ...
|
35 |
+
@overload
|
36 |
+
def instance_of(type: Tuple[Type[_T1], Type[_T2]]) -> _ValidatorType[Union[_T1, _T2]]: ...
|
37 |
+
@overload
|
38 |
+
def instance_of(type: Tuple[Type[_T1], Type[_T2], Type[_T3]]) -> _ValidatorType[Union[_T1, _T2, _T3]]: ...
|
39 |
+
@overload
|
40 |
+
def instance_of(type: Tuple[type, ...]) -> _ValidatorType[Any]: ...
|
41 |
+
def provides(interface: Any) -> _ValidatorType[Any]: ...
|
42 |
+
def optional(validator: Union[_ValidatorType[_T], List[_ValidatorType[_T]]]) -> _ValidatorType[Optional[_T]]: ...
|
43 |
+
def in_(options: Container[_T]) -> _ValidatorType[_T]: ...
|
44 |
+
def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ...
|
45 |
+
def matches_re(
|
46 |
+
regex: AnyStr, flags: int = ..., func: Optional[Callable[[AnyStr, AnyStr, int], Optional[Match[AnyStr]]]] = ...
|
47 |
+
) -> _ValidatorType[AnyStr]: ...
|
48 |
+
def deep_iterable(
|
49 |
+
member_validator: _ValidatorType[_T], iterable_validator: Optional[_ValidatorType[_I]] = ...
|
50 |
+
) -> _ValidatorType[_I]: ...
|
51 |
+
def deep_mapping(
|
52 |
+
key_validator: _ValidatorType[_K], value_validator: _ValidatorType[_V], mapping_validator: Optional[_ValidatorType[_M]] = ...
|
53 |
+
) -> _ValidatorType[_M]: ...
|
54 |
+
def is_callable() -> _ValidatorType[_T]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/_common.pyi
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Optional, TypeVar
|
2 |
+
|
3 |
+
_T = TypeVar("_T")
|
4 |
+
|
5 |
+
class weekday(object):
|
6 |
+
def __init__(self, weekday: int, n: Optional[int] = ...) -> None: ...
|
7 |
+
def __call__(self: _T, n: int) -> _T: ...
|
8 |
+
def __eq__(self, other) -> bool: ...
|
9 |
+
def __repr__(self) -> str: ...
|
10 |
+
def __hash__(self) -> int: ...
|
11 |
+
weekday: int
|
12 |
+
n: int
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/easter.pyi
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import date
|
2 |
+
from typing_extensions import Literal
|
3 |
+
|
4 |
+
EASTER_JULIAN: Literal[1]
|
5 |
+
EASTER_ORTHODOX: Literal[2]
|
6 |
+
EASTER_WESTERN: Literal[3]
|
7 |
+
|
8 |
+
def easter(year: int, method: Literal[1, 2, 3] = ...) -> date: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/parser.pyi
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime, tzinfo
|
2 |
+
from typing import IO, Any, Dict, List, Mapping, Optional, Text, Tuple, Union
|
3 |
+
|
4 |
+
_FileOrStr = Union[bytes, Text, IO[str], IO[Any]]
|
5 |
+
|
6 |
+
class parserinfo(object):
|
7 |
+
JUMP: List[str]
|
8 |
+
WEEKDAYS: List[Tuple[str, str]]
|
9 |
+
MONTHS: List[Tuple[str, str]]
|
10 |
+
HMS: List[Tuple[str, str, str]]
|
11 |
+
AMPM: List[Tuple[str, str]]
|
12 |
+
UTCZONE: List[str]
|
13 |
+
PERTAIN: List[str]
|
14 |
+
TZOFFSET: Dict[str, int]
|
15 |
+
def __init__(self, dayfirst: bool = ..., yearfirst: bool = ...) -> None: ...
|
16 |
+
def jump(self, name: Text) -> bool: ...
|
17 |
+
def weekday(self, name: Text) -> Optional[int]: ...
|
18 |
+
def month(self, name: Text) -> Optional[int]: ...
|
19 |
+
def hms(self, name: Text) -> Optional[int]: ...
|
20 |
+
def ampm(self, name: Text) -> Optional[int]: ...
|
21 |
+
def pertain(self, name: Text) -> bool: ...
|
22 |
+
def utczone(self, name: Text) -> bool: ...
|
23 |
+
def tzoffset(self, name: Text) -> Optional[int]: ...
|
24 |
+
def convertyear(self, year: int) -> int: ...
|
25 |
+
def validate(self, res: datetime) -> bool: ...
|
26 |
+
|
27 |
+
class parser(object):
|
28 |
+
def __init__(self, info: Optional[parserinfo] = ...) -> None: ...
|
29 |
+
def parse(
|
30 |
+
self,
|
31 |
+
timestr: _FileOrStr,
|
32 |
+
default: Optional[datetime] = ...,
|
33 |
+
ignoretz: bool = ...,
|
34 |
+
tzinfos: Optional[Mapping[Text, tzinfo]] = ...,
|
35 |
+
**kwargs: Any,
|
36 |
+
) -> datetime: ...
|
37 |
+
|
38 |
+
def isoparse(dt_str: Union[str, bytes, IO[str], IO[bytes]]) -> datetime: ...
|
39 |
+
|
40 |
+
DEFAULTPARSER: parser
|
41 |
+
|
42 |
+
def parse(timestr: _FileOrStr, parserinfo: Optional[parserinfo] = ..., **kwargs: Any) -> datetime: ...
|
43 |
+
|
44 |
+
class _tzparser: ...
|
45 |
+
|
46 |
+
DEFAULTTZPARSER: _tzparser
|
47 |
+
|
48 |
+
class InvalidDatetimeError(ValueError): ...
|
49 |
+
class InvalidDateError(InvalidDatetimeError): ...
|
50 |
+
class InvalidTimeError(InvalidDatetimeError): ...
|
51 |
+
class ParserError(ValueError): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/relativedelta.pyi
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import date, datetime, timedelta
|
2 |
+
from typing import Optional, SupportsFloat, TypeVar, Union, overload
|
3 |
+
|
4 |
+
from ._common import weekday
|
5 |
+
|
6 |
+
_SelfT = TypeVar("_SelfT", bound=relativedelta)
|
7 |
+
_DateT = TypeVar("_DateT", date, datetime)
|
8 |
+
# Work around attribute and type having the same name.
|
9 |
+
_weekday = weekday
|
10 |
+
|
11 |
+
MO: weekday
|
12 |
+
TU: weekday
|
13 |
+
WE: weekday
|
14 |
+
TH: weekday
|
15 |
+
FR: weekday
|
16 |
+
SA: weekday
|
17 |
+
SU: weekday
|
18 |
+
|
19 |
+
class relativedelta(object):
|
20 |
+
years: int
|
21 |
+
months: int
|
22 |
+
days: int
|
23 |
+
leapdays: int
|
24 |
+
hours: int
|
25 |
+
minutes: int
|
26 |
+
seconds: int
|
27 |
+
microseconds: int
|
28 |
+
year: Optional[int]
|
29 |
+
month: Optional[int]
|
30 |
+
weekday: Optional[_weekday]
|
31 |
+
day: Optional[int]
|
32 |
+
hour: Optional[int]
|
33 |
+
minute: Optional[int]
|
34 |
+
second: Optional[int]
|
35 |
+
microsecond: Optional[int]
|
36 |
+
def __init__(
|
37 |
+
self,
|
38 |
+
dt1: Optional[date] = ...,
|
39 |
+
dt2: Optional[date] = ...,
|
40 |
+
years: Optional[int] = ...,
|
41 |
+
months: Optional[int] = ...,
|
42 |
+
days: Optional[int] = ...,
|
43 |
+
leapdays: Optional[int] = ...,
|
44 |
+
weeks: Optional[int] = ...,
|
45 |
+
hours: Optional[int] = ...,
|
46 |
+
minutes: Optional[int] = ...,
|
47 |
+
seconds: Optional[int] = ...,
|
48 |
+
microseconds: Optional[int] = ...,
|
49 |
+
year: Optional[int] = ...,
|
50 |
+
month: Optional[int] = ...,
|
51 |
+
day: Optional[int] = ...,
|
52 |
+
weekday: Optional[Union[int, _weekday]] = ...,
|
53 |
+
yearday: Optional[int] = ...,
|
54 |
+
nlyearday: Optional[int] = ...,
|
55 |
+
hour: Optional[int] = ...,
|
56 |
+
minute: Optional[int] = ...,
|
57 |
+
second: Optional[int] = ...,
|
58 |
+
microsecond: Optional[int] = ...,
|
59 |
+
) -> None: ...
|
60 |
+
@property
|
61 |
+
def weeks(self) -> int: ...
|
62 |
+
@weeks.setter
|
63 |
+
def weeks(self, value: int) -> None: ...
|
64 |
+
def normalized(self: _SelfT) -> _SelfT: ...
|
65 |
+
# TODO: use Union when mypy will handle it properly in overloaded operator
|
66 |
+
# methods (#2129, #1442, #1264 in mypy)
|
67 |
+
@overload
|
68 |
+
def __add__(self: _SelfT, other: relativedelta) -> _SelfT: ...
|
69 |
+
@overload
|
70 |
+
def __add__(self: _SelfT, other: timedelta) -> _SelfT: ...
|
71 |
+
@overload
|
72 |
+
def __add__(self, other: _DateT) -> _DateT: ...
|
73 |
+
@overload
|
74 |
+
def __radd__(self: _SelfT, other: relativedelta) -> _SelfT: ...
|
75 |
+
@overload
|
76 |
+
def __radd__(self: _SelfT, other: timedelta) -> _SelfT: ...
|
77 |
+
@overload
|
78 |
+
def __radd__(self, other: _DateT) -> _DateT: ...
|
79 |
+
@overload
|
80 |
+
def __rsub__(self: _SelfT, other: relativedelta) -> _SelfT: ...
|
81 |
+
@overload
|
82 |
+
def __rsub__(self: _SelfT, other: timedelta) -> _SelfT: ...
|
83 |
+
@overload
|
84 |
+
def __rsub__(self, other: _DateT) -> _DateT: ...
|
85 |
+
def __sub__(self: _SelfT, other: relativedelta) -> _SelfT: ...
|
86 |
+
def __neg__(self: _SelfT) -> _SelfT: ...
|
87 |
+
def __bool__(self) -> bool: ...
|
88 |
+
def __nonzero__(self) -> bool: ...
|
89 |
+
def __mul__(self: _SelfT, other: SupportsFloat) -> _SelfT: ...
|
90 |
+
def __rmul__(self: _SelfT, other: SupportsFloat) -> _SelfT: ...
|
91 |
+
def __eq__(self, other) -> bool: ...
|
92 |
+
def __ne__(self, other: object) -> bool: ...
|
93 |
+
def __div__(self: _SelfT, other: SupportsFloat) -> _SelfT: ...
|
94 |
+
def __truediv__(self: _SelfT, other: SupportsFloat) -> _SelfT: ...
|
95 |
+
def __repr__(self) -> str: ...
|
96 |
+
def __abs__(self: _SelfT) -> _SelfT: ...
|
97 |
+
def __hash__(self) -> int: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/rrule.pyi
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import datetime
|
2 |
+
from typing import Any, Iterable, Optional, Union
|
3 |
+
|
4 |
+
from ._common import weekday as weekdaybase
|
5 |
+
|
6 |
+
YEARLY: int
|
7 |
+
MONTHLY: int
|
8 |
+
WEEKLY: int
|
9 |
+
DAILY: int
|
10 |
+
HOURLY: int
|
11 |
+
MINUTELY: int
|
12 |
+
SECONDLY: int
|
13 |
+
|
14 |
+
class weekday(weekdaybase): ...
|
15 |
+
|
16 |
+
MO: weekday
|
17 |
+
TU: weekday
|
18 |
+
WE: weekday
|
19 |
+
TH: weekday
|
20 |
+
FR: weekday
|
21 |
+
SA: weekday
|
22 |
+
SU: weekday
|
23 |
+
|
24 |
+
class rrulebase:
|
25 |
+
def __init__(self, cache: bool = ...) -> None: ...
|
26 |
+
def __iter__(self): ...
|
27 |
+
def __getitem__(self, item): ...
|
28 |
+
def __contains__(self, item): ...
|
29 |
+
def count(self): ...
|
30 |
+
def before(self, dt, inc: bool = ...): ...
|
31 |
+
def after(self, dt, inc: bool = ...): ...
|
32 |
+
def xafter(self, dt, count: Optional[Any] = ..., inc: bool = ...): ...
|
33 |
+
def between(self, after, before, inc: bool = ..., count: int = ...): ...
|
34 |
+
|
35 |
+
class rrule(rrulebase):
|
36 |
+
def __init__(
|
37 |
+
self,
|
38 |
+
freq,
|
39 |
+
dtstart: Optional[datetime.date] = ...,
|
40 |
+
interval: int = ...,
|
41 |
+
wkst: Optional[Union[weekday, int]] = ...,
|
42 |
+
count: Optional[int] = ...,
|
43 |
+
until: Optional[Union[datetime.date, int]] = ...,
|
44 |
+
bysetpos: Optional[Union[int, Iterable[int]]] = ...,
|
45 |
+
bymonth: Optional[Union[int, Iterable[int]]] = ...,
|
46 |
+
bymonthday: Optional[Union[int, Iterable[int]]] = ...,
|
47 |
+
byyearday: Optional[Union[int, Iterable[int]]] = ...,
|
48 |
+
byeaster: Optional[Union[int, Iterable[int]]] = ...,
|
49 |
+
byweekno: Optional[Union[int, Iterable[int]]] = ...,
|
50 |
+
byweekday: Optional[Union[int, weekday, Iterable[int], Iterable[weekday]]] = ...,
|
51 |
+
byhour: Optional[Union[int, Iterable[int]]] = ...,
|
52 |
+
byminute: Optional[Union[int, Iterable[int]]] = ...,
|
53 |
+
bysecond: Optional[Union[int, Iterable[int]]] = ...,
|
54 |
+
cache: bool = ...,
|
55 |
+
) -> None: ...
|
56 |
+
def replace(self, **kwargs): ...
|
57 |
+
|
58 |
+
class _iterinfo:
|
59 |
+
rrule: Any = ...
|
60 |
+
def __init__(self, rrule) -> None: ...
|
61 |
+
yearlen: int = ...
|
62 |
+
nextyearlen: int = ...
|
63 |
+
yearordinal: int = ...
|
64 |
+
yearweekday: int = ...
|
65 |
+
mmask: Any = ...
|
66 |
+
mdaymask: Any = ...
|
67 |
+
nmdaymask: Any = ...
|
68 |
+
wdaymask: Any = ...
|
69 |
+
mrange: Any = ...
|
70 |
+
wnomask: Any = ...
|
71 |
+
nwdaymask: Any = ...
|
72 |
+
eastermask: Any = ...
|
73 |
+
lastyear: int = ...
|
74 |
+
lastmonth: int = ...
|
75 |
+
def rebuild(self, year, month): ...
|
76 |
+
def ydayset(self, year, month, day): ...
|
77 |
+
def mdayset(self, year, month, day): ...
|
78 |
+
def wdayset(self, year, month, day): ...
|
79 |
+
def ddayset(self, year, month, day): ...
|
80 |
+
def htimeset(self, hour, minute, second): ...
|
81 |
+
def mtimeset(self, hour, minute, second): ...
|
82 |
+
def stimeset(self, hour, minute, second): ...
|
83 |
+
|
84 |
+
class rruleset(rrulebase):
|
85 |
+
class _genitem:
|
86 |
+
dt: Any = ...
|
87 |
+
genlist: Any = ...
|
88 |
+
gen: Any = ...
|
89 |
+
def __init__(self, genlist, gen) -> None: ...
|
90 |
+
def __next__(self): ...
|
91 |
+
next: Any = ...
|
92 |
+
def __lt__(self, other): ...
|
93 |
+
def __gt__(self, other): ...
|
94 |
+
def __eq__(self, other): ...
|
95 |
+
def __ne__(self, other): ...
|
96 |
+
def __init__(self, cache: bool = ...) -> None: ...
|
97 |
+
def rrule(self, rrule): ...
|
98 |
+
def rdate(self, rdate): ...
|
99 |
+
def exrule(self, exrule): ...
|
100 |
+
def exdate(self, exdate): ...
|
101 |
+
|
102 |
+
class _rrulestr:
|
103 |
+
def __call__(self, s, **kwargs): ...
|
104 |
+
|
105 |
+
rrulestr: _rrulestr
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/__init__.pyi
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .tz import (
|
2 |
+
datetime_ambiguous as datetime_ambiguous,
|
3 |
+
datetime_exists as datetime_exists,
|
4 |
+
gettz as gettz,
|
5 |
+
resolve_imaginary as resolve_imaginary,
|
6 |
+
tzfile as tzfile,
|
7 |
+
tzical as tzical,
|
8 |
+
tzlocal as tzlocal,
|
9 |
+
tzoffset as tzoffset,
|
10 |
+
tzrange as tzrange,
|
11 |
+
tzstr as tzstr,
|
12 |
+
tzutc as tzutc,
|
13 |
+
)
|
14 |
+
|
15 |
+
UTC: tzutc
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/_common.pyi
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime, timedelta, tzinfo
|
2 |
+
from typing import Any, Optional
|
3 |
+
|
4 |
+
def tzname_in_python2(namefunc): ...
|
5 |
+
def enfold(dt: datetime, fold: int = ...): ...
|
6 |
+
|
7 |
+
class _DatetimeWithFold(datetime):
|
8 |
+
@property
|
9 |
+
def fold(self): ...
|
10 |
+
|
11 |
+
class _tzinfo(tzinfo):
|
12 |
+
def is_ambiguous(self, dt: datetime) -> bool: ...
|
13 |
+
def fromutc(self, dt: datetime) -> datetime: ...
|
14 |
+
|
15 |
+
class tzrangebase(_tzinfo):
|
16 |
+
def __init__(self) -> None: ...
|
17 |
+
def utcoffset(self, dt: Optional[datetime]) -> Optional[timedelta]: ...
|
18 |
+
def dst(self, dt: Optional[datetime]) -> Optional[timedelta]: ...
|
19 |
+
def tzname(self, dt: Optional[datetime]) -> str: ...
|
20 |
+
def fromutc(self, dt: datetime) -> datetime: ...
|
21 |
+
def is_ambiguous(self, dt: datetime) -> bool: ...
|
22 |
+
__hash__: Any
|
23 |
+
def __ne__(self, other): ...
|
24 |
+
__reduce__: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/tz/tz.pyi
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import datetime
|
2 |
+
from typing import IO, Any, List, Optional, Text, Tuple, Union
|
3 |
+
|
4 |
+
from ..relativedelta import relativedelta
|
5 |
+
from ._common import _tzinfo as _tzinfo, enfold as enfold, tzname_in_python2 as tzname_in_python2, tzrangebase as tzrangebase
|
6 |
+
|
7 |
+
_FileObj = Union[str, Text, IO[str], IO[Text]]
|
8 |
+
|
9 |
+
ZERO: datetime.timedelta
|
10 |
+
EPOCH: datetime.datetime
|
11 |
+
EPOCHORDINAL: int
|
12 |
+
|
13 |
+
class tzutc(datetime.tzinfo):
|
14 |
+
def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
15 |
+
def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
16 |
+
def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
|
17 |
+
def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
|
18 |
+
def __eq__(self, other): ...
|
19 |
+
__hash__: Any
|
20 |
+
def __ne__(self, other): ...
|
21 |
+
__reduce__: Any
|
22 |
+
|
23 |
+
class tzoffset(datetime.tzinfo):
|
24 |
+
def __init__(self, name, offset) -> None: ...
|
25 |
+
def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
26 |
+
def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
27 |
+
def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
|
28 |
+
def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
|
29 |
+
def __eq__(self, other): ...
|
30 |
+
__hash__: Any
|
31 |
+
def __ne__(self, other): ...
|
32 |
+
__reduce__: Any
|
33 |
+
@classmethod
|
34 |
+
def instance(cls, name, offset) -> tzoffset: ...
|
35 |
+
|
36 |
+
class tzlocal(_tzinfo):
|
37 |
+
def __init__(self) -> None: ...
|
38 |
+
def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
39 |
+
def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
40 |
+
def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
|
41 |
+
def is_ambiguous(self, dt: Optional[datetime.datetime]) -> bool: ...
|
42 |
+
def __eq__(self, other): ...
|
43 |
+
__hash__: Any
|
44 |
+
def __ne__(self, other): ...
|
45 |
+
__reduce__: Any
|
46 |
+
|
47 |
+
class _ttinfo:
|
48 |
+
def __init__(self) -> None: ...
|
49 |
+
def __eq__(self, other): ...
|
50 |
+
__hash__: Any
|
51 |
+
def __ne__(self, other): ...
|
52 |
+
|
53 |
+
class tzfile(_tzinfo):
|
54 |
+
def __init__(self, fileobj: _FileObj, filename: Optional[Text] = ...) -> None: ...
|
55 |
+
def is_ambiguous(self, dt: Optional[datetime.datetime], idx: Optional[int] = ...) -> bool: ...
|
56 |
+
def utcoffset(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
57 |
+
def dst(self, dt: Optional[datetime.datetime]) -> Optional[datetime.timedelta]: ...
|
58 |
+
def tzname(self, dt: Optional[datetime.datetime]) -> str: ...
|
59 |
+
def __eq__(self, other): ...
|
60 |
+
__hash__: Any
|
61 |
+
def __ne__(self, other): ...
|
62 |
+
def __reduce__(self): ...
|
63 |
+
def __reduce_ex__(self, protocol): ...
|
64 |
+
|
65 |
+
class tzrange(tzrangebase):
|
66 |
+
hasdst: bool
|
67 |
+
def __init__(
|
68 |
+
self,
|
69 |
+
stdabbr: Text,
|
70 |
+
stdoffset: Union[int, datetime.timedelta, None] = ...,
|
71 |
+
dstabbr: Optional[Text] = ...,
|
72 |
+
dstoffset: Union[int, datetime.timedelta, None] = ...,
|
73 |
+
start: Optional[relativedelta] = ...,
|
74 |
+
end: Optional[relativedelta] = ...,
|
75 |
+
) -> None: ...
|
76 |
+
def transitions(self, year: int) -> Tuple[datetime.datetime, datetime.datetime]: ...
|
77 |
+
def __eq__(self, other): ...
|
78 |
+
|
79 |
+
class tzstr(tzrange):
|
80 |
+
hasdst: bool
|
81 |
+
def __init__(self, s: Union[bytes, _FileObj], posix_offset: bool = ...) -> None: ...
|
82 |
+
@classmethod
|
83 |
+
def instance(cls, name, offset) -> tzoffset: ...
|
84 |
+
|
85 |
+
class tzical:
|
86 |
+
def __init__(self, fileobj: _FileObj) -> None: ...
|
87 |
+
def keys(self): ...
|
88 |
+
def get(self, tzid: Optional[Any] = ...): ...
|
89 |
+
|
90 |
+
TZFILES: List[str]
|
91 |
+
TZPATHS: List[str]
|
92 |
+
|
93 |
+
def datetime_exists(dt: datetime.datetime, tz: Optional[datetime.tzinfo] = ...) -> bool: ...
|
94 |
+
def datetime_ambiguous(dt: datetime.datetime, tz: Optional[datetime.tzinfo] = ...) -> bool: ...
|
95 |
+
def resolve_imaginary(dt: datetime.datetime) -> datetime.datetime: ...
|
96 |
+
|
97 |
+
class _GetTZ:
|
98 |
+
def __call__(self, name: Optional[Text] = ...) -> Optional[datetime.tzinfo]: ...
|
99 |
+
def nocache(self, name: Optional[Text]) -> Optional[datetime.tzinfo]: ...
|
100 |
+
|
101 |
+
gettz: _GetTZ
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/dateutil/utils.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime, timedelta, tzinfo
|
2 |
+
from typing import Optional
|
3 |
+
|
4 |
+
def default_tzinfo(dt: datetime, tzinfo: tzinfo) -> datetime: ...
|
5 |
+
def today(tzinfo: Optional[tzinfo] = ...) -> datetime: ...
|
6 |
+
def within_delta(dt1: datetime, dt2: datetime, delta: timedelta) -> bool: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/__init__.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from .classic import deprecated as deprecated
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/classic.pyi
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Callable, Optional, Type, TypeVar, overload
|
2 |
+
|
3 |
+
_F = TypeVar("_F", bound=Callable[..., Any])
|
4 |
+
|
5 |
+
class ClassicAdapter:
|
6 |
+
reason: str
|
7 |
+
version: str
|
8 |
+
action: Optional[str]
|
9 |
+
category: Type[DeprecationWarning]
|
10 |
+
def __init__(
|
11 |
+
self, reason: str = ..., version: str = ..., action: Optional[str] = ..., category: Type[DeprecationWarning] = ...
|
12 |
+
) -> None: ...
|
13 |
+
def get_deprecated_msg(self, wrapped: Callable[..., Any], instance: object) -> str: ...
|
14 |
+
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
|
15 |
+
|
16 |
+
@overload
|
17 |
+
def deprecated(__wrapped: _F) -> _F: ...
|
18 |
+
@overload
|
19 |
+
def deprecated(
|
20 |
+
reason: str = ..., *, version: str = ..., action: Optional[str] = ..., category: Optional[Type[DeprecationWarning]] = ...
|
21 |
+
) -> Callable[[_F], _F]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/deprecated/sphinx.pyi
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Callable, Optional, Type, TypeVar, overload
|
2 |
+
from typing_extensions import Literal
|
3 |
+
|
4 |
+
from .classic import ClassicAdapter
|
5 |
+
|
6 |
+
_F = TypeVar("_F", bound=Callable[..., Any])
|
7 |
+
|
8 |
+
class SphinxAdapter(ClassicAdapter):
|
9 |
+
directive: Literal["versionadded", "versionchanged", "deprecated"]
|
10 |
+
reason: str
|
11 |
+
version: str
|
12 |
+
action: Optional[str]
|
13 |
+
category: Type[DeprecationWarning]
|
14 |
+
def __init__(
|
15 |
+
self,
|
16 |
+
directive: Literal["versionadded", "versionchanged", "deprecated"],
|
17 |
+
reason: str = ...,
|
18 |
+
version: str = ...,
|
19 |
+
action: Optional[str] = ...,
|
20 |
+
category: Type[DeprecationWarning] = ...,
|
21 |
+
) -> None: ...
|
22 |
+
def __call__(self, wrapped: _F) -> Callable[[_F], _F]: ...
|
23 |
+
|
24 |
+
def versionadded(reason: str = ..., version: str = ...) -> Callable[[_F], _F]: ...
|
25 |
+
def versionchanged(reason: str = ..., version: str = ...) -> Callable[[_F], _F]: ...
|
26 |
+
@overload
|
27 |
+
def deprecated(__wrapped: _F) -> _F: ...
|
28 |
+
@overload
|
29 |
+
def deprecated(
|
30 |
+
reason: str = ..., *, version: str = ..., action: Optional[str] = ..., category: Optional[Type[DeprecationWarning]] = ...
|
31 |
+
) -> Callable[[_F], _F]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/database.pyi
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from types import TracebackType
|
2 |
+
from typing import Optional, Sequence, Text, Type
|
3 |
+
|
4 |
+
from geoip2.models import ASN, ISP, AnonymousIP, City, ConnectionType, Country, Domain, Enterprise
|
5 |
+
from maxminddb.reader import Metadata
|
6 |
+
|
7 |
+
_Locales = Optional[Sequence[Text]]
|
8 |
+
|
9 |
+
class Reader:
|
10 |
+
def __init__(self, filename: Text, locales: _Locales = ..., mode: int = ...) -> None: ...
|
11 |
+
def __enter__(self) -> Reader: ...
|
12 |
+
def __exit__(
|
13 |
+
self,
|
14 |
+
exc_type: Optional[Type[BaseException]] = ...,
|
15 |
+
exc_val: Optional[BaseException] = ...,
|
16 |
+
exc_tb: Optional[TracebackType] = ...,
|
17 |
+
) -> None: ...
|
18 |
+
def country(self, ip_address: Text) -> Country: ...
|
19 |
+
def city(self, ip_address: Text) -> City: ...
|
20 |
+
def anonymous_ip(self, ip_address: Text) -> AnonymousIP: ...
|
21 |
+
def asn(self, ip_address: Text) -> ASN: ...
|
22 |
+
def connection_type(self, ip_address: Text) -> ConnectionType: ...
|
23 |
+
def domain(self, ip_address: Text) -> Domain: ...
|
24 |
+
def enterprise(self, ip_address: Text) -> Enterprise: ...
|
25 |
+
def isp(self, ip_address: Text) -> ISP: ...
|
26 |
+
def metadata(self) -> Metadata: ...
|
27 |
+
def close(self) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/errors.pyi
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Optional, Text
|
2 |
+
|
3 |
+
class GeoIP2Error(RuntimeError): ...
|
4 |
+
class AddressNotFoundError(GeoIP2Error): ...
|
5 |
+
class AuthenticationError(GeoIP2Error): ...
|
6 |
+
|
7 |
+
class HTTPError(GeoIP2Error):
|
8 |
+
http_status: Optional[int]
|
9 |
+
uri: Optional[Text]
|
10 |
+
def __init__(self, message: Text, http_status: Optional[int] = ..., uri: Optional[Text] = ...) -> None: ...
|
11 |
+
|
12 |
+
class InvalidRequestError(GeoIP2Error): ...
|
13 |
+
class OutOfQueriesError(GeoIP2Error): ...
|
14 |
+
class PermissionRequiredError(GeoIP2Error): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/mixins.pyi
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
class SimpleEquality:
|
2 |
+
def __eq__(self, other: object) -> bool: ...
|
3 |
+
def __ne__(self, other: object) -> bool: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/models.pyi
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Mapping, Optional, Sequence, Text
|
2 |
+
|
3 |
+
from geoip2 import records
|
4 |
+
from geoip2.mixins import SimpleEquality
|
5 |
+
|
6 |
+
_Locales = Optional[Sequence[Text]]
|
7 |
+
_RawResponse = Mapping[Text, Mapping[Text, Any]]
|
8 |
+
|
9 |
+
class Country(SimpleEquality):
|
10 |
+
continent: records.Continent
|
11 |
+
country: records.Country
|
12 |
+
registered_country: records.Country
|
13 |
+
represented_country: records.RepresentedCountry
|
14 |
+
maxmind: records.MaxMind
|
15 |
+
traits: records.Traits
|
16 |
+
raw: _RawResponse
|
17 |
+
def __init__(self, raw_response: _RawResponse, locales: _Locales = ...) -> None: ...
|
18 |
+
|
19 |
+
class City(Country):
|
20 |
+
city: records.City
|
21 |
+
location: records.Location
|
22 |
+
postal: records.Postal
|
23 |
+
subdivisions: records.Subdivisions
|
24 |
+
def __init__(self, raw_response: _RawResponse, locales: _Locales = ...) -> None: ...
|
25 |
+
|
26 |
+
class Insights(City): ...
|
27 |
+
class Enterprise(City): ...
|
28 |
+
class SimpleModel(SimpleEquality): ...
|
29 |
+
|
30 |
+
class AnonymousIP(SimpleModel):
|
31 |
+
is_anonymous: bool
|
32 |
+
is_anonymous_vpn: bool
|
33 |
+
is_hosting_provider: bool
|
34 |
+
is_public_proxy: bool
|
35 |
+
is_tor_exit_node: bool
|
36 |
+
ip_address: Optional[Text]
|
37 |
+
raw: _RawResponse
|
38 |
+
def __init__(self, raw: _RawResponse) -> None: ...
|
39 |
+
|
40 |
+
class ASN(SimpleModel):
|
41 |
+
autonomous_system_number: Optional[int]
|
42 |
+
autonomous_system_organization: Optional[Text]
|
43 |
+
ip_address: Optional[Text]
|
44 |
+
raw: _RawResponse
|
45 |
+
def __init__(self, raw: _RawResponse) -> None: ...
|
46 |
+
|
47 |
+
class ConnectionType(SimpleModel):
|
48 |
+
connection_type: Optional[Text]
|
49 |
+
ip_address: Optional[Text]
|
50 |
+
raw: _RawResponse
|
51 |
+
def __init__(self, raw: _RawResponse) -> None: ...
|
52 |
+
|
53 |
+
class Domain(SimpleModel):
|
54 |
+
domain: Optional[Text]
|
55 |
+
ip_address: Optional[Text]
|
56 |
+
raw: Optional[Text]
|
57 |
+
def __init__(self, raw: _RawResponse) -> None: ...
|
58 |
+
|
59 |
+
class ISP(ASN):
|
60 |
+
isp: Optional[Text]
|
61 |
+
organization: Optional[Text]
|
62 |
+
def __init__(self, raw: _RawResponse) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/geoip2/records.pyi
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Mapping, Optional, Sequence, Text, Tuple
|
2 |
+
|
3 |
+
from geoip2.mixins import SimpleEquality
|
4 |
+
|
5 |
+
_Locales = Optional[Sequence[Text]]
|
6 |
+
_Names = Mapping[Text, Text]
|
7 |
+
|
8 |
+
class Record(SimpleEquality):
|
9 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
10 |
+
def __setattr__(self, name: Text, value: Any) -> None: ...
|
11 |
+
|
12 |
+
class PlaceRecord(Record):
|
13 |
+
def __init__(self, locales: _Locales = ..., **kwargs: Any) -> None: ...
|
14 |
+
@property
|
15 |
+
def name(self) -> Text: ...
|
16 |
+
|
17 |
+
class City(PlaceRecord):
|
18 |
+
confidence: int
|
19 |
+
geoname_id: int
|
20 |
+
names: _Names
|
21 |
+
|
22 |
+
class Continent(PlaceRecord):
|
23 |
+
code: Text
|
24 |
+
geoname_id: int
|
25 |
+
names: _Names
|
26 |
+
|
27 |
+
class Country(PlaceRecord):
|
28 |
+
confidence: int
|
29 |
+
geoname_id: int
|
30 |
+
is_in_european_union: bool
|
31 |
+
iso_code: Text
|
32 |
+
names: _Names
|
33 |
+
def __init__(self, locales: _Locales = ..., **kwargs: Any) -> None: ...
|
34 |
+
|
35 |
+
class RepresentedCountry(Country):
|
36 |
+
type: Text
|
37 |
+
|
38 |
+
class Location(Record):
|
39 |
+
average_income: int
|
40 |
+
accuracy_radius: int
|
41 |
+
latitude: float
|
42 |
+
longitude: float
|
43 |
+
metro_code: int
|
44 |
+
population_density: int
|
45 |
+
time_zone: Text
|
46 |
+
|
47 |
+
class MaxMind(Record):
|
48 |
+
queries_remaining: int
|
49 |
+
|
50 |
+
class Postal(Record):
|
51 |
+
code: Text
|
52 |
+
confidence: int
|
53 |
+
|
54 |
+
class Subdivision(PlaceRecord):
|
55 |
+
confidence: int
|
56 |
+
geoname_id: int
|
57 |
+
iso_code: Text
|
58 |
+
names: _Names
|
59 |
+
|
60 |
+
class Subdivisions(Tuple[Subdivision]):
|
61 |
+
def __new__(cls, locales: _Locales, *subdivisions: Subdivision) -> Subdivisions: ...
|
62 |
+
def __init__(self, locales: _Locales, *subdivisions: Subdivision) -> None: ...
|
63 |
+
@property
|
64 |
+
def most_specific(self) -> Subdivision: ...
|
65 |
+
|
66 |
+
class Traits(Record):
|
67 |
+
autonomous_system_number: int
|
68 |
+
autonomous_system_organization: Text
|
69 |
+
connection_type: Text
|
70 |
+
domain: Text
|
71 |
+
ip_address: Text
|
72 |
+
is_anonymous: bool
|
73 |
+
is_anonymous_proxy: bool
|
74 |
+
is_anonymous_vpn: bool
|
75 |
+
is_hosting_provider: bool
|
76 |
+
is_legitimate_proxy: bool
|
77 |
+
is_public_proxy: bool
|
78 |
+
is_satellite_provider: bool
|
79 |
+
is_tor_exit_node: bool
|
80 |
+
isp: Text
|
81 |
+
organization: Text
|
82 |
+
user_type: Text
|
83 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/__init__.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Text
|
2 |
+
|
3 |
+
from maxminddb import reader
|
4 |
+
|
5 |
+
def open_database(database: Text, mode: int = ...) -> reader.Reader: ...
|
6 |
+
def Reader(database: Text) -> reader.Reader: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/compat.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
def compat_ip_address(address: object) -> Any: ...
|
4 |
+
def int_from_byte(x: int) -> int: ...
|
5 |
+
def int_from_bytes(x: bytes) -> int: ...
|
6 |
+
def byte_from_int(x: int) -> bytes: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/const.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MODE_AUTO: int = ...
|
2 |
+
MODE_MMAP_EXT: int = ...
|
3 |
+
MODE_MMAP: int = ...
|
4 |
+
MODE_FILE: int = ...
|
5 |
+
MODE_MEMORY: int = ...
|
6 |
+
MODE_FD: int = ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/decoder.pyi
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Tuple
|
2 |
+
|
3 |
+
class Decoder:
|
4 |
+
def __init__(self, database_buffer: bytes, pointer_base: int = ..., pointer_test: bool = ...) -> None: ...
|
5 |
+
def decode(self, offset: int) -> Tuple[Any, int]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/errors.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
class InvalidDatabaseError(RuntimeError): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/extension.pyi
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Mapping, Sequence, Text
|
2 |
+
|
3 |
+
from maxminddb.errors import InvalidDatabaseError as InvalidDatabaseError
|
4 |
+
|
5 |
+
class Reader:
|
6 |
+
closed: bool = ...
|
7 |
+
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
8 |
+
def close(self, *args: Any, **kwargs: Any) -> Any: ...
|
9 |
+
def get(self, *args: Any, **kwargs: Any) -> Any: ...
|
10 |
+
def metadata(self, *args: Any, **kwargs: Any) -> Any: ...
|
11 |
+
def __enter__(self, *args: Any, **kwargs: Any) -> Any: ...
|
12 |
+
def __exit__(self, *args: Any, **kwargs: Any) -> Any: ...
|
13 |
+
|
14 |
+
class extension:
|
15 |
+
@property
|
16 |
+
def node_count(self) -> int: ...
|
17 |
+
@property
|
18 |
+
def record_size(self) -> int: ...
|
19 |
+
@property
|
20 |
+
def ip_version(self) -> int: ...
|
21 |
+
@property
|
22 |
+
def database_type(self) -> Text: ...
|
23 |
+
@property
|
24 |
+
def languages(self) -> Sequence[Text]: ...
|
25 |
+
@property
|
26 |
+
def binary_format_major_version(self) -> int: ...
|
27 |
+
@property
|
28 |
+
def binary_format_minor_version(self) -> int: ...
|
29 |
+
@property
|
30 |
+
def build_epoch(self) -> int: ...
|
31 |
+
@property
|
32 |
+
def description(self) -> Mapping[Text, Text]: ...
|
33 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/maxminddb/reader.pyi
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from ipaddress import IPv4Address, IPv6Address
|
2 |
+
from types import TracebackType
|
3 |
+
from typing import Any, Mapping, Optional, Sequence, Text, Tuple, Type, Union
|
4 |
+
|
5 |
+
class Reader:
|
6 |
+
closed: bool = ...
|
7 |
+
def __init__(self, database: bytes, mode: int = ...) -> None: ...
|
8 |
+
def metadata(self) -> Metadata: ...
|
9 |
+
def get(self, ip_address: Union[Text, IPv4Address, IPv6Address]) -> Optional[Any]: ...
|
10 |
+
def get_with_prefix_len(self, ip_address: Union[Text, IPv4Address, IPv6Address]) -> Tuple[Optional[Any], int]: ...
|
11 |
+
def close(self) -> None: ...
|
12 |
+
def __enter__(self) -> Reader: ...
|
13 |
+
def __exit__(
|
14 |
+
self,
|
15 |
+
exc_type: Optional[Type[BaseException]] = ...,
|
16 |
+
exc_val: Optional[BaseException] = ...,
|
17 |
+
exc_tb: Optional[TracebackType] = ...,
|
18 |
+
) -> None: ...
|
19 |
+
|
20 |
+
class Metadata:
|
21 |
+
node_count: int = ...
|
22 |
+
record_size: int = ...
|
23 |
+
ip_version: int = ...
|
24 |
+
database_type: Text = ...
|
25 |
+
languages: Sequence[Text] = ...
|
26 |
+
binary_format_major_version: int = ...
|
27 |
+
binary_format_minor_version: int = ...
|
28 |
+
build_epoch: int = ...
|
29 |
+
description: Mapping[Text, Text] = ...
|
30 |
+
def __init__(self, **kwargs: Any) -> None: ...
|
31 |
+
@property
|
32 |
+
def node_byte_size(self) -> int: ...
|
33 |
+
@property
|
34 |
+
def search_tree_size(self) -> int: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/__init__.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
from .nmap import *
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/nmap/nmap.pyi
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Text, Tuple, TypeVar
|
2 |
+
from typing_extensions import TypedDict
|
3 |
+
|
4 |
+
_T = TypeVar("_T")
|
5 |
+
_Callback = Callable[[str, _Result], Any]
|
6 |
+
|
7 |
+
class _Result(TypedDict):
|
8 |
+
nmap: _ResultNmap
|
9 |
+
scan: Dict[str, PortScannerHostDict]
|
10 |
+
|
11 |
+
class _ResultNmap(TypedDict):
|
12 |
+
command_line: str
|
13 |
+
scaninfo: _ResultNmapInfo
|
14 |
+
scanstats: _ResultNampStats
|
15 |
+
|
16 |
+
class _ResultNmapInfo(TypedDict, total=False):
|
17 |
+
error: str
|
18 |
+
warning: str
|
19 |
+
protocol: _ResultNampInfoProtocol
|
20 |
+
|
21 |
+
class _ResultNampInfoProtocol(TypedDict):
|
22 |
+
method: str
|
23 |
+
services: str
|
24 |
+
|
25 |
+
class _ResultNampStats(TypedDict):
|
26 |
+
timestr: str
|
27 |
+
elapsed: str
|
28 |
+
uphosts: str
|
29 |
+
downhosts: str
|
30 |
+
totalhosts: str
|
31 |
+
|
32 |
+
class _ResulHostUptime(TypedDict):
|
33 |
+
seconds: str
|
34 |
+
lastboot: str
|
35 |
+
|
36 |
+
class _ResultHostNames(TypedDict):
|
37 |
+
type: str
|
38 |
+
name: str
|
39 |
+
|
40 |
+
class _ResultHostPort(TypedDict):
|
41 |
+
conf: str
|
42 |
+
cpe: str
|
43 |
+
extrainfo: str
|
44 |
+
name: str
|
45 |
+
product: str
|
46 |
+
reason: str
|
47 |
+
state: str
|
48 |
+
version: str
|
49 |
+
|
50 |
+
__last_modification__: str
|
51 |
+
|
52 |
+
class PortScanner(object):
|
53 |
+
def __init__(self, nmap_search_path: Iterable[str] = ...) -> None: ...
|
54 |
+
def get_nmap_last_output(self) -> Text: ...
|
55 |
+
def nmap_version(self) -> Tuple[int, int]: ...
|
56 |
+
def listscan(self, hosts: str = ...) -> List[str]: ...
|
57 |
+
def scan(self, hosts: Text = ..., ports: Optional[Text] = ..., arguments: Text = ..., sudo: bool = ...) -> _Result: ...
|
58 |
+
def analyse_nmap_xml_scan(
|
59 |
+
self,
|
60 |
+
nmap_xml_output: Optional[str] = ...,
|
61 |
+
nmap_err: str = ...,
|
62 |
+
nmap_err_keep_trace: str = ...,
|
63 |
+
nmap_warn_keep_trace: str = ...,
|
64 |
+
) -> _Result: ...
|
65 |
+
def __getitem__(self, host: Text) -> PortScannerHostDict: ...
|
66 |
+
def all_hosts(self) -> List[str]: ...
|
67 |
+
def command_line(self) -> str: ...
|
68 |
+
def scaninfo(self) -> _ResultNmapInfo: ...
|
69 |
+
def scanstats(self) -> _ResultNampStats: ...
|
70 |
+
def has_host(self, host: str) -> bool: ...
|
71 |
+
def csv(self) -> str: ...
|
72 |
+
|
73 |
+
def __scan_progressive__(self, hosts: Text, ports: Text, arguments: Text, callback: Optional[_Callback], sudo: bool) -> None: ...
|
74 |
+
|
75 |
+
class PortScannerAsync(object):
|
76 |
+
def __init__(self) -> None: ...
|
77 |
+
def __del__(self) -> None: ...
|
78 |
+
def scan(
|
79 |
+
self,
|
80 |
+
hosts: Text = ...,
|
81 |
+
ports: Optional[Text] = ...,
|
82 |
+
arguments: Text = ...,
|
83 |
+
callback: Optional[_Callback] = ...,
|
84 |
+
sudo: bool = ...,
|
85 |
+
) -> None: ...
|
86 |
+
def stop(self) -> None: ...
|
87 |
+
def wait(self, timeout: Optional[int] = ...) -> None: ...
|
88 |
+
def still_scanning(self) -> bool: ...
|
89 |
+
|
90 |
+
class PortScannerYield(PortScannerAsync):
|
91 |
+
def __init__(self) -> None: ...
|
92 |
+
def scan( # type: ignore
|
93 |
+
self, hosts: str = ..., ports: Optional[str] = ..., arguments: str = ..., sudo: bool = ...
|
94 |
+
) -> Iterator[Tuple[str, _Result]]: ...
|
95 |
+
def stop(self) -> None: ...
|
96 |
+
def wait(self, timeout: Optional[int] = ...) -> None: ...
|
97 |
+
def still_scanning(self) -> None: ... # type: ignore
|
98 |
+
|
99 |
+
class PortScannerHostDict(Dict[str, Any]):
|
100 |
+
def hostnames(self) -> List[_ResultHostNames]: ...
|
101 |
+
def hostname(self) -> str: ...
|
102 |
+
def state(self) -> str: ...
|
103 |
+
def uptime(self) -> _ResulHostUptime: ...
|
104 |
+
def all_protocols(self) -> List[str]: ...
|
105 |
+
def all_tcp(self) -> List[int]: ...
|
106 |
+
def has_tcp(self, port: int) -> bool: ...
|
107 |
+
def tcp(self, port: int) -> _ResultHostPort: ...
|
108 |
+
def all_udp(self) -> List[int]: ...
|
109 |
+
def has_udp(self, port: int) -> bool: ...
|
110 |
+
def udp(self, port: int) -> _ResultHostPort: ...
|
111 |
+
def all_ip(self) -> List[int]: ...
|
112 |
+
def has_ip(self, port: int) -> bool: ...
|
113 |
+
def ip(self, port: int) -> _ResultHostPort: ...
|
114 |
+
def all_sctp(self) -> List[int]: ...
|
115 |
+
def has_sctp(self, port: int) -> bool: ...
|
116 |
+
def sctp(self, port: int) -> _ResultHostPort: ...
|
117 |
+
|
118 |
+
class PortScannerError(Exception):
|
119 |
+
value: str
|
120 |
+
def __init__(self, value: str) -> None: ...
|
121 |
+
|
122 |
+
def convert_nmap_output_to_encoding(value: _T, code: str = ...) -> _T: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/__init__.pyi
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime
|
2 |
+
from enum import Enum
|
3 |
+
from typing import Any, List
|
4 |
+
|
5 |
+
from ..vmodl.query import PropertyCollector
|
6 |
+
from .event import EventManager
|
7 |
+
from .option import OptionManager
|
8 |
+
from .view import ViewManager
|
9 |
+
|
10 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
11 |
+
|
12 |
+
class ManagedObject: ...
|
13 |
+
|
14 |
+
class ManagedEntity(ManagedObject):
|
15 |
+
_moId: str
|
16 |
+
obj: None
|
17 |
+
name: str
|
18 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
19 |
+
|
20 |
+
class ServiceInstanceContent:
|
21 |
+
setting: OptionManager
|
22 |
+
propertyCollector: PropertyCollector
|
23 |
+
rootFolder: Folder
|
24 |
+
viewManager: ViewManager
|
25 |
+
perfManager: PerformanceManager
|
26 |
+
eventManager: EventManager
|
27 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
28 |
+
|
29 |
+
class ServiceInstance:
|
30 |
+
content: ServiceInstanceContent
|
31 |
+
def CurrentTime(self) -> datetime: ...
|
32 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
33 |
+
|
34 |
+
class PerformanceManager:
|
35 |
+
class MetricId:
|
36 |
+
counterId: int
|
37 |
+
instance: str
|
38 |
+
def __init__(self, counterId: int, instance: str): ...
|
39 |
+
class PerfCounterInfo:
|
40 |
+
key: int
|
41 |
+
groupInfo: Any
|
42 |
+
nameInfo: Any
|
43 |
+
rollupType: Any
|
44 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
45 |
+
class QuerySpec:
|
46 |
+
entity: ManagedEntity
|
47 |
+
metricId: List[PerformanceManager.MetricId]
|
48 |
+
intervalId: int
|
49 |
+
maxSample: int
|
50 |
+
startTime: datetime
|
51 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
52 |
+
class EntityMetricBase:
|
53 |
+
entity: ManagedEntity
|
54 |
+
def QueryPerfCounterByLevel(self, collection_level: int) -> List[PerformanceManager.PerfCounterInfo]: ...
|
55 |
+
def QueryPerf(self, querySpec: List[PerformanceManager.QuerySpec]) -> List[PerformanceManager.EntityMetricBase]: ...
|
56 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
57 |
+
|
58 |
+
class ClusterComputeResource(ManagedEntity): ...
|
59 |
+
class ComputeResource(ManagedEntity): ...
|
60 |
+
class Datacenter(ManagedEntity): ...
|
61 |
+
class Datastore(ManagedEntity): ...
|
62 |
+
class Folder(ManagedEntity): ...
|
63 |
+
class HostSystem(ManagedEntity): ...
|
64 |
+
class VirtualMachine(ManagedEntity): ...
|
65 |
+
|
66 |
+
class VirtualMachinePowerState(Enum):
|
67 |
+
poweredOff: int
|
68 |
+
poweredOn: int
|
69 |
+
suspended: int
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/event.pyi
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime
|
2 |
+
from typing import Any, List
|
3 |
+
|
4 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
5 |
+
|
6 |
+
class Event:
|
7 |
+
createdTime: datetime
|
8 |
+
|
9 |
+
class EventFilterSpec:
|
10 |
+
class ByTime:
|
11 |
+
def __init__(self, beginTime: datetime): ...
|
12 |
+
time: EventFilterSpec.ByTime
|
13 |
+
|
14 |
+
class EventManager:
|
15 |
+
latestEvent: Event
|
16 |
+
def QueryEvents(self, filer: EventFilterSpec) -> List[Event]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/fault.pyi
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
4 |
+
|
5 |
+
class InvalidName(Exception): ...
|
6 |
+
class RestrictedByAdministrator(Exception): ...
|
7 |
+
class NoPermission(Exception): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/option.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, List
|
2 |
+
|
3 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
4 |
+
|
5 |
+
class OptionManager:
|
6 |
+
def QueryOptions(self, name: str) -> List[OptionValue]: ...
|
7 |
+
|
8 |
+
class OptionValue:
|
9 |
+
value: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vim/view.pyi
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, List, Type
|
2 |
+
|
3 |
+
from pyVmomi.vim import ManagedEntity
|
4 |
+
|
5 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
6 |
+
|
7 |
+
class ContainerView:
|
8 |
+
def Destroy(self) -> None: ...
|
9 |
+
|
10 |
+
class ViewManager:
|
11 |
+
# Doc says the `type` parameter of CreateContainerView is a `List[str]`,
|
12 |
+
# but in practice it seems to be `List[Type[ManagedEntity]]`
|
13 |
+
# Source: https://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/vim.view.ViewManager.html
|
14 |
+
@staticmethod
|
15 |
+
def CreateContainerView(container: ManagedEntity, type: List[Type[ManagedEntity]], recursive: bool) -> ContainerView: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/__init__.pyi
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
class DynamicProperty:
|
4 |
+
name: str
|
5 |
+
val: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/fault.pyi
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
def __getattr__(name: str) -> Any: ... # incomplete
|
4 |
+
|
5 |
+
class InvalidArgument(Exception): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pyVmomi/vmodl/query.pyi
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, List, Optional, Type
|
2 |
+
|
3 |
+
from pyVmomi.vim import ManagedEntity
|
4 |
+
from pyVmomi.vim.view import ContainerView
|
5 |
+
from pyVmomi.vmodl import DynamicProperty
|
6 |
+
|
7 |
+
class PropertyCollector:
|
8 |
+
class PropertySpec:
|
9 |
+
all: bool
|
10 |
+
type: Type[ManagedEntity]
|
11 |
+
pathSet: List[str]
|
12 |
+
class TraversalSpec:
|
13 |
+
path: str
|
14 |
+
skip: bool
|
15 |
+
type: Type[ContainerView]
|
16 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
17 |
+
class RetrieveOptions:
|
18 |
+
maxObjects: int
|
19 |
+
class ObjectSpec:
|
20 |
+
skip: bool
|
21 |
+
selectSet: List[PropertyCollector.TraversalSpec]
|
22 |
+
obj: Any
|
23 |
+
class FilterSpec:
|
24 |
+
propSet: List[PropertyCollector.PropertySpec]
|
25 |
+
objectSet: List[PropertyCollector.ObjectSpec]
|
26 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
27 |
+
class ObjectContent:
|
28 |
+
obj: ManagedEntity
|
29 |
+
propSet: List[DynamicProperty]
|
30 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
31 |
+
class RetrieveResult:
|
32 |
+
objects: List[PropertyCollector.ObjectContent]
|
33 |
+
token: Optional[str]
|
34 |
+
def RetrievePropertiesEx(
|
35 |
+
self, specSet: List[PropertyCollector.FilterSpec], options: PropertyCollector.RetrieveOptions
|
36 |
+
) -> PropertyCollector.RetrieveResult: ...
|
37 |
+
def ContinueRetrievePropertiesEx(self, token: str) -> PropertyCollector.RetrieveResult: ...
|
38 |
+
def __getattr__(self, name: str) -> Any: ... # incomplete
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/adapters.pyi
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Container, Mapping, Optional, Text, Tuple, Union
|
2 |
+
|
3 |
+
from . import cookies, exceptions, models, structures, utils
|
4 |
+
from .packages.urllib3 import exceptions as urllib3_exceptions, poolmanager, response
|
5 |
+
from .packages.urllib3.util import retry
|
6 |
+
|
7 |
+
PreparedRequest = models.PreparedRequest
|
8 |
+
Response = models.Response
|
9 |
+
PoolManager = poolmanager.PoolManager
|
10 |
+
proxy_from_url = poolmanager.proxy_from_url
|
11 |
+
HTTPResponse = response.HTTPResponse
|
12 |
+
Retry = retry.Retry
|
13 |
+
DEFAULT_CA_BUNDLE_PATH = utils.DEFAULT_CA_BUNDLE_PATH
|
14 |
+
get_encoding_from_headers = utils.get_encoding_from_headers
|
15 |
+
prepend_scheme_if_needed = utils.prepend_scheme_if_needed
|
16 |
+
get_auth_from_url = utils.get_auth_from_url
|
17 |
+
urldefragauth = utils.urldefragauth
|
18 |
+
CaseInsensitiveDict = structures.CaseInsensitiveDict
|
19 |
+
ConnectTimeoutError = urllib3_exceptions.ConnectTimeoutError
|
20 |
+
MaxRetryError = urllib3_exceptions.MaxRetryError
|
21 |
+
ProtocolError = urllib3_exceptions.ProtocolError
|
22 |
+
ReadTimeoutError = urllib3_exceptions.ReadTimeoutError
|
23 |
+
ResponseError = urllib3_exceptions.ResponseError
|
24 |
+
extract_cookies_to_jar = cookies.extract_cookies_to_jar
|
25 |
+
ConnectionError = exceptions.ConnectionError
|
26 |
+
ConnectTimeout = exceptions.ConnectTimeout
|
27 |
+
ReadTimeout = exceptions.ReadTimeout
|
28 |
+
SSLError = exceptions.SSLError
|
29 |
+
ProxyError = exceptions.ProxyError
|
30 |
+
RetryError = exceptions.RetryError
|
31 |
+
|
32 |
+
DEFAULT_POOLBLOCK: Any
|
33 |
+
DEFAULT_POOLSIZE: Any
|
34 |
+
DEFAULT_RETRIES: Any
|
35 |
+
|
36 |
+
class BaseAdapter:
|
37 |
+
def __init__(self) -> None: ...
|
38 |
+
def send(
|
39 |
+
self,
|
40 |
+
request: PreparedRequest,
|
41 |
+
stream: bool = ...,
|
42 |
+
timeout: Union[None, float, Tuple[float, float], Tuple[float, None]] = ...,
|
43 |
+
verify: Union[bool, str] = ...,
|
44 |
+
cert: Union[None, Union[bytes, Text], Container[Union[bytes, Text]]] = ...,
|
45 |
+
proxies: Optional[Mapping[str, str]] = ...,
|
46 |
+
) -> Response: ...
|
47 |
+
def close(self) -> None: ...
|
48 |
+
|
49 |
+
class HTTPAdapter(BaseAdapter):
|
50 |
+
__attrs__: Any
|
51 |
+
max_retries: Any
|
52 |
+
config: Any
|
53 |
+
proxy_manager: Any
|
54 |
+
def __init__(self, pool_connections=..., pool_maxsize=..., max_retries=..., pool_block=...) -> None: ...
|
55 |
+
poolmanager: Any
|
56 |
+
def init_poolmanager(self, connections, maxsize, block=..., **pool_kwargs): ...
|
57 |
+
def proxy_manager_for(self, proxy, **proxy_kwargs): ...
|
58 |
+
def cert_verify(self, conn, url, verify, cert): ...
|
59 |
+
def build_response(self, req, resp): ...
|
60 |
+
def get_connection(self, url, proxies=...): ...
|
61 |
+
def close(self): ...
|
62 |
+
def request_url(self, request, proxies): ...
|
63 |
+
def add_headers(self, request, **kwargs): ...
|
64 |
+
def proxy_headers(self, proxy): ...
|
65 |
+
def send(
|
66 |
+
self,
|
67 |
+
request: PreparedRequest,
|
68 |
+
stream: bool = ...,
|
69 |
+
timeout: Union[None, float, Tuple[float, float], Tuple[float, None]] = ...,
|
70 |
+
verify: Union[bool, str] = ...,
|
71 |
+
cert: Union[None, Union[bytes, Text], Container[Union[bytes, Text]]] = ...,
|
72 |
+
proxies: Optional[Mapping[str, str]] = ...,
|
73 |
+
) -> Response: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/hooks.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
HOOKS: Any
|
4 |
+
|
5 |
+
def default_hooks(): ...
|
6 |
+
def dispatch_hook(key, hooks, hook_data, **kwargs): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/__init__.pyi
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class VendorAlias:
|
2 |
+
def __init__(self, package_names) -> None: ...
|
3 |
+
def find_module(self, fullname, path=...): ...
|
4 |
+
def load_module(self, name): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/__init__.pyi
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import logging
|
2 |
+
from typing import Any
|
3 |
+
|
4 |
+
from . import connectionpool, filepost, poolmanager, response
|
5 |
+
from .util import request as _request, retry, timeout, url
|
6 |
+
|
7 |
+
__license__: Any
|
8 |
+
|
9 |
+
HTTPConnectionPool = connectionpool.HTTPConnectionPool
|
10 |
+
HTTPSConnectionPool = connectionpool.HTTPSConnectionPool
|
11 |
+
connection_from_url = connectionpool.connection_from_url
|
12 |
+
encode_multipart_formdata = filepost.encode_multipart_formdata
|
13 |
+
PoolManager = poolmanager.PoolManager
|
14 |
+
ProxyManager = poolmanager.ProxyManager
|
15 |
+
proxy_from_url = poolmanager.proxy_from_url
|
16 |
+
HTTPResponse = response.HTTPResponse
|
17 |
+
make_headers = _request.make_headers
|
18 |
+
get_host = url.get_host
|
19 |
+
Timeout = timeout.Timeout
|
20 |
+
Retry = retry.Retry
|
21 |
+
|
22 |
+
class NullHandler(logging.Handler):
|
23 |
+
def emit(self, record): ...
|
24 |
+
|
25 |
+
def add_stderr_logger(level=...): ...
|
26 |
+
def disable_warnings(category=...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/_collections.pyi
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from collections import MutableMapping
|
2 |
+
from typing import Any, NoReturn, TypeVar
|
3 |
+
|
4 |
+
_KT = TypeVar("_KT")
|
5 |
+
_VT = TypeVar("_VT")
|
6 |
+
|
7 |
+
class RLock:
|
8 |
+
def __enter__(self): ...
|
9 |
+
def __exit__(self, exc_type, exc_value, traceback): ...
|
10 |
+
|
11 |
+
class RecentlyUsedContainer(MutableMapping[_KT, _VT]):
|
12 |
+
ContainerCls: Any
|
13 |
+
dispose_func: Any
|
14 |
+
lock: Any
|
15 |
+
def __init__(self, maxsize=..., dispose_func=...) -> None: ...
|
16 |
+
def __getitem__(self, key): ...
|
17 |
+
def __setitem__(self, key, value): ...
|
18 |
+
def __delitem__(self, key): ...
|
19 |
+
def __len__(self): ...
|
20 |
+
def __iter__(self): ...
|
21 |
+
def clear(self): ...
|
22 |
+
def keys(self): ...
|
23 |
+
|
24 |
+
class HTTPHeaderDict(MutableMapping[str, str]):
|
25 |
+
def __init__(self, headers=..., **kwargs) -> None: ...
|
26 |
+
def __setitem__(self, key, val): ...
|
27 |
+
def __getitem__(self, key): ...
|
28 |
+
def __delitem__(self, key): ...
|
29 |
+
def __contains__(self, key): ...
|
30 |
+
def __eq__(self, other): ...
|
31 |
+
def __iter__(self) -> NoReturn: ...
|
32 |
+
def __len__(self) -> int: ...
|
33 |
+
def __ne__(self, other): ...
|
34 |
+
values: Any
|
35 |
+
get: Any
|
36 |
+
update: Any
|
37 |
+
iterkeys: Any
|
38 |
+
itervalues: Any
|
39 |
+
def pop(self, key, default=...): ...
|
40 |
+
def discard(self, key): ...
|
41 |
+
def add(self, key, val): ...
|
42 |
+
def extend(self, *args, **kwargs): ...
|
43 |
+
def getlist(self, key): ...
|
44 |
+
getheaders: Any
|
45 |
+
getallmatchingheaders: Any
|
46 |
+
iget: Any
|
47 |
+
def copy(self): ...
|
48 |
+
def iteritems(self): ...
|
49 |
+
def itermerged(self): ...
|
50 |
+
def items(self): ...
|
51 |
+
@classmethod
|
52 |
+
def from_httplib(cls, message, duplicates=...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connection.pyi
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ssl
|
2 |
+
import sys
|
3 |
+
from typing import Any
|
4 |
+
|
5 |
+
from . import exceptions, util
|
6 |
+
from .packages import ssl_match_hostname
|
7 |
+
from .util import ssl_
|
8 |
+
|
9 |
+
if sys.version_info < (3, 0):
|
10 |
+
from httplib import HTTPConnection as _HTTPConnection, HTTPException as HTTPException
|
11 |
+
class ConnectionError(Exception): ...
|
12 |
+
|
13 |
+
else:
|
14 |
+
from builtins import ConnectionError as ConnectionError
|
15 |
+
from http.client import HTTPConnection as _HTTPConnection, HTTPException as HTTPException
|
16 |
+
|
17 |
+
class DummyConnection: ...
|
18 |
+
|
19 |
+
BaseSSLError = ssl.SSLError
|
20 |
+
|
21 |
+
ConnectTimeoutError = exceptions.ConnectTimeoutError
|
22 |
+
SystemTimeWarning = exceptions.SystemTimeWarning
|
23 |
+
SecurityWarning = exceptions.SecurityWarning
|
24 |
+
match_hostname = ssl_match_hostname.match_hostname
|
25 |
+
resolve_cert_reqs = ssl_.resolve_cert_reqs
|
26 |
+
resolve_ssl_version = ssl_.resolve_ssl_version
|
27 |
+
ssl_wrap_socket = ssl_.ssl_wrap_socket
|
28 |
+
assert_fingerprint = ssl_.assert_fingerprint
|
29 |
+
connection = util.connection
|
30 |
+
|
31 |
+
port_by_scheme: Any
|
32 |
+
RECENT_DATE: Any
|
33 |
+
|
34 |
+
class HTTPConnection(_HTTPConnection):
|
35 |
+
default_port: Any
|
36 |
+
default_socket_options: Any
|
37 |
+
is_verified: Any
|
38 |
+
source_address: Any
|
39 |
+
socket_options: Any
|
40 |
+
def __init__(self, *args, **kw) -> None: ...
|
41 |
+
def connect(self): ...
|
42 |
+
|
43 |
+
class HTTPSConnection(HTTPConnection):
|
44 |
+
default_port: Any
|
45 |
+
key_file: Any
|
46 |
+
cert_file: Any
|
47 |
+
def __init__(self, host, port=..., key_file=..., cert_file=..., strict=..., timeout=..., **kw) -> None: ...
|
48 |
+
sock: Any
|
49 |
+
def connect(self): ...
|
50 |
+
|
51 |
+
class VerifiedHTTPSConnection(HTTPSConnection):
|
52 |
+
cert_reqs: Any
|
53 |
+
ca_certs: Any
|
54 |
+
ssl_version: Any
|
55 |
+
assert_fingerprint: Any
|
56 |
+
key_file: Any
|
57 |
+
cert_file: Any
|
58 |
+
assert_hostname: Any
|
59 |
+
def set_cert(self, key_file=..., cert_file=..., cert_reqs=..., ca_certs=..., assert_hostname=..., assert_fingerprint=...): ...
|
60 |
+
sock: Any
|
61 |
+
auto_open: Any
|
62 |
+
is_verified: Any
|
63 |
+
def connect(self): ...
|
64 |
+
|
65 |
+
UnverifiedHTTPSConnection = HTTPSConnection
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/connectionpool.pyi
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from . import connection, exceptions, request, response
|
4 |
+
from .connection import BaseSSLError as BaseSSLError, ConnectionError as ConnectionError, HTTPException as HTTPException
|
5 |
+
from .packages import ssl_match_hostname
|
6 |
+
from .util import connection as _connection, retry, timeout, url
|
7 |
+
|
8 |
+
ClosedPoolError = exceptions.ClosedPoolError
|
9 |
+
ProtocolError = exceptions.ProtocolError
|
10 |
+
EmptyPoolError = exceptions.EmptyPoolError
|
11 |
+
HostChangedError = exceptions.HostChangedError
|
12 |
+
LocationValueError = exceptions.LocationValueError
|
13 |
+
MaxRetryError = exceptions.MaxRetryError
|
14 |
+
ProxyError = exceptions.ProxyError
|
15 |
+
ReadTimeoutError = exceptions.ReadTimeoutError
|
16 |
+
SSLError = exceptions.SSLError
|
17 |
+
TimeoutError = exceptions.TimeoutError
|
18 |
+
InsecureRequestWarning = exceptions.InsecureRequestWarning
|
19 |
+
CertificateError = ssl_match_hostname.CertificateError
|
20 |
+
port_by_scheme = connection.port_by_scheme
|
21 |
+
DummyConnection = connection.DummyConnection
|
22 |
+
HTTPConnection = connection.HTTPConnection
|
23 |
+
HTTPSConnection = connection.HTTPSConnection
|
24 |
+
VerifiedHTTPSConnection = connection.VerifiedHTTPSConnection
|
25 |
+
RequestMethods = request.RequestMethods
|
26 |
+
HTTPResponse = response.HTTPResponse
|
27 |
+
is_connection_dropped = _connection.is_connection_dropped
|
28 |
+
Retry = retry.Retry
|
29 |
+
Timeout = timeout.Timeout
|
30 |
+
get_host = url.get_host
|
31 |
+
|
32 |
+
xrange: Any
|
33 |
+
log: Any
|
34 |
+
|
35 |
+
class ConnectionPool:
|
36 |
+
scheme: Any
|
37 |
+
QueueCls: Any
|
38 |
+
host: Any
|
39 |
+
port: Any
|
40 |
+
def __init__(self, host, port=...) -> None: ...
|
41 |
+
def __enter__(self): ...
|
42 |
+
def __exit__(self, exc_type, exc_val, exc_tb): ...
|
43 |
+
def close(self): ...
|
44 |
+
|
45 |
+
class HTTPConnectionPool(ConnectionPool, RequestMethods):
|
46 |
+
scheme: Any
|
47 |
+
ConnectionCls: Any
|
48 |
+
strict: Any
|
49 |
+
timeout: Any
|
50 |
+
retries: Any
|
51 |
+
pool: Any
|
52 |
+
block: Any
|
53 |
+
proxy: Any
|
54 |
+
proxy_headers: Any
|
55 |
+
num_connections: Any
|
56 |
+
num_requests: Any
|
57 |
+
conn_kw: Any
|
58 |
+
def __init__(
|
59 |
+
self,
|
60 |
+
host,
|
61 |
+
port=...,
|
62 |
+
strict=...,
|
63 |
+
timeout=...,
|
64 |
+
maxsize=...,
|
65 |
+
block=...,
|
66 |
+
headers=...,
|
67 |
+
retries=...,
|
68 |
+
_proxy=...,
|
69 |
+
_proxy_headers=...,
|
70 |
+
**conn_kw,
|
71 |
+
) -> None: ...
|
72 |
+
def close(self): ...
|
73 |
+
def is_same_host(self, url): ...
|
74 |
+
def urlopen(
|
75 |
+
self,
|
76 |
+
method,
|
77 |
+
url,
|
78 |
+
body=...,
|
79 |
+
headers=...,
|
80 |
+
retries=...,
|
81 |
+
redirect=...,
|
82 |
+
assert_same_host=...,
|
83 |
+
timeout=...,
|
84 |
+
pool_timeout=...,
|
85 |
+
release_conn=...,
|
86 |
+
**response_kw,
|
87 |
+
): ...
|
88 |
+
|
89 |
+
class HTTPSConnectionPool(HTTPConnectionPool):
|
90 |
+
scheme: Any
|
91 |
+
ConnectionCls: Any
|
92 |
+
key_file: Any
|
93 |
+
cert_file: Any
|
94 |
+
cert_reqs: Any
|
95 |
+
ca_certs: Any
|
96 |
+
ssl_version: Any
|
97 |
+
assert_hostname: Any
|
98 |
+
assert_fingerprint: Any
|
99 |
+
def __init__(
|
100 |
+
self,
|
101 |
+
host,
|
102 |
+
port=...,
|
103 |
+
strict=...,
|
104 |
+
timeout=...,
|
105 |
+
maxsize=...,
|
106 |
+
block=...,
|
107 |
+
headers=...,
|
108 |
+
retries=...,
|
109 |
+
_proxy=...,
|
110 |
+
_proxy_headers=...,
|
111 |
+
key_file=...,
|
112 |
+
cert_file=...,
|
113 |
+
cert_reqs=...,
|
114 |
+
ca_certs=...,
|
115 |
+
ssl_version=...,
|
116 |
+
assert_hostname=...,
|
117 |
+
assert_fingerprint=...,
|
118 |
+
**conn_kw,
|
119 |
+
) -> None: ...
|
120 |
+
|
121 |
+
def connection_from_url(url, **kw): ...
|