Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/atomicwrites/__init__.pyi +16 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/__init__.pyi +257 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/_version_info.pyi +9 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/converters.pyi +11 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/exceptions.pyi +15 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/filters.pyi +6 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/attr/validators.pyi +54 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/backports/__init__.pyi +4 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/backports/ssl_match_hostname.pyi +3 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/__init__.pyi +27 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/callbacks.pyi +6 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/linkifier.pyi +31 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi +34 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/utils.pyi +8 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/__init__.pyi +109 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/auth.pyi +109 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/auth_handler.pyi +10 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/compat.pyi +20 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/connection.pyi +174 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/ec2/__init__.pyi +10 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/elb/__init__.pyi +59 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/exception.pyi +147 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/__init__.pyi +6 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/exceptions.pyi +17 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/layer1.pyi +82 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/plugin.pyi +9 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/regioninfo.pyi +22 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/__init__.pyi +18 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/acl.pyi +48 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucket.pyi +187 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlistresultset.pyi +80 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlogging.pyi +11 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/connection.pyi +128 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/cors.pyi +35 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/deletemarker.pyi +12 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/key.pyi +233 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/keyfile.pyi +29 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/lifecycle.pyi +65 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/multidelete.pyi +35 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/multipart.pyi +70 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/prefix.pyi +10 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/tagging.pyi +22 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/user.pyi +10 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/website.pyi +82 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/utils.pyi +175 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/__init__.pyi +6 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/abc.pyi +7 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/cache.pyi +20 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/decorators.pyi +16 -0
- home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/func.pyi +11 -0
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/atomicwrites/__init__.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from _typeshed import AnyPath
|
| 2 |
+
from typing import IO, Any, AnyStr, Callable, ContextManager, Optional, Text, Type
|
| 3 |
+
|
| 4 |
+
def replace_atomic(src: AnyStr, dst: AnyStr) -> None: ...
|
| 5 |
+
def move_atomic(src: AnyStr, dst: AnyStr) -> None: ...
|
| 6 |
+
|
| 7 |
+
class AtomicWriter(object):
|
| 8 |
+
def __init__(self, path: AnyPath, mode: Text = ..., overwrite: bool = ...) -> None: ...
|
| 9 |
+
def open(self) -> ContextManager[IO[Any]]: ...
|
| 10 |
+
def _open(self, get_fileobject: Callable[..., IO[AnyStr]]) -> ContextManager[IO[AnyStr]]: ...
|
| 11 |
+
def get_fileobject(self, dir: Optional[AnyPath] = ..., **kwargs: Any) -> IO[Any]: ...
|
| 12 |
+
def sync(self, f: IO[Any]) -> None: ...
|
| 13 |
+
def commit(self, f: IO[Any]) -> None: ...
|
| 14 |
+
def rollback(self, f: IO[Any]) -> None: ...
|
| 15 |
+
|
| 16 |
+
def atomic_write(path: AnyPath, writer_cls: Type[AtomicWriter] = ..., **cls_kwargs: object) -> ContextManager[IO[Any]]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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) ;)
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/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]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/backports/__init__.pyi
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
# Explicitly mark this package as incomplete.
|
| 4 |
+
def __getattr__(name: str) -> Any: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/backports/ssl_match_hostname.pyi
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CertificateError(ValueError): ...
|
| 2 |
+
|
| 3 |
+
def match_hostname(cert, hostname): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/__init__.pyi
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Container, Iterable, Optional, Text
|
| 2 |
+
|
| 3 |
+
from bleach.linkifier import DEFAULT_CALLBACKS as DEFAULT_CALLBACKS, Linker as Linker, _Callback
|
| 4 |
+
from bleach.sanitizer import (
|
| 5 |
+
ALLOWED_ATTRIBUTES as ALLOWED_ATTRIBUTES,
|
| 6 |
+
ALLOWED_PROTOCOLS as ALLOWED_PROTOCOLS,
|
| 7 |
+
ALLOWED_STYLES as ALLOWED_STYLES,
|
| 8 |
+
ALLOWED_TAGS as ALLOWED_TAGS,
|
| 9 |
+
Cleaner as Cleaner,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
__releasedate__: Text
|
| 13 |
+
__version__: Text
|
| 14 |
+
VERSION: Any # packaging.version.Version
|
| 15 |
+
|
| 16 |
+
def clean(
|
| 17 |
+
text: Text,
|
| 18 |
+
tags: Container[Text] = ...,
|
| 19 |
+
attributes: Any = ...,
|
| 20 |
+
styles: Container[Text] = ...,
|
| 21 |
+
protocols: Container[Text] = ...,
|
| 22 |
+
strip: bool = ...,
|
| 23 |
+
strip_comments: bool = ...,
|
| 24 |
+
) -> Text: ...
|
| 25 |
+
def linkify(
|
| 26 |
+
text: Text, callbacks: Iterable[_Callback] = ..., skip_tags: Optional[Container[Text]] = ..., parse_email: bool = ...
|
| 27 |
+
) -> Text: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/callbacks.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, MutableMapping, Text
|
| 2 |
+
|
| 3 |
+
_Attrs = MutableMapping[Any, Text]
|
| 4 |
+
|
| 5 |
+
def nofollow(attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
| 6 |
+
def target_blank(attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/linkifier.pyi
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Container, Iterable, List, MutableMapping, Optional, Pattern, Protocol, Text
|
| 2 |
+
|
| 3 |
+
_Attrs = MutableMapping[Any, Text]
|
| 4 |
+
|
| 5 |
+
class _Callback(Protocol):
|
| 6 |
+
def __call__(self, attrs: _Attrs, new: bool = ...) -> _Attrs: ...
|
| 7 |
+
|
| 8 |
+
DEFAULT_CALLBACKS: List[_Callback]
|
| 9 |
+
|
| 10 |
+
TLDS: List[Text]
|
| 11 |
+
|
| 12 |
+
def build_url_re(tlds: Iterable[Text] = ..., protocols: Iterable[Text] = ...) -> Pattern[Text]: ...
|
| 13 |
+
|
| 14 |
+
URL_RE: Pattern[Text]
|
| 15 |
+
PROTO_RE: Pattern[Text]
|
| 16 |
+
EMAIL_RE: Pattern[Text]
|
| 17 |
+
|
| 18 |
+
class Linker(object):
|
| 19 |
+
def __init__(
|
| 20 |
+
self,
|
| 21 |
+
callbacks: Iterable[_Callback] = ...,
|
| 22 |
+
skip_tags: Optional[Container[Text]] = ...,
|
| 23 |
+
parse_email: bool = ...,
|
| 24 |
+
url_re: Pattern[Text] = ...,
|
| 25 |
+
email_re: Pattern[Text] = ...,
|
| 26 |
+
recognized_tags: Optional[Container[Text]] = ...,
|
| 27 |
+
) -> None: ...
|
| 28 |
+
def linkify(self, text: Text) -> Text: ...
|
| 29 |
+
|
| 30 |
+
class LinkifyFilter(object): # TODO: derives from html5lib.Filter
|
| 31 |
+
def __getattr__(self, item: str) -> Any: ... # incomplete
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/sanitizer.pyi
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Container, Dict, Iterable, List, Optional, Pattern, Text, Union
|
| 2 |
+
|
| 3 |
+
ALLOWED_TAGS: List[Text]
|
| 4 |
+
ALLOWED_ATTRIBUTES: Dict[Text, List[Text]]
|
| 5 |
+
ALLOWED_STYLES: List[Text]
|
| 6 |
+
ALLOWED_PROTOCOLS: List[Text]
|
| 7 |
+
|
| 8 |
+
INVISIBLE_CHARACTERS: Text
|
| 9 |
+
INVISIBLE_CHARACTERS_RE: Pattern[Text]
|
| 10 |
+
INVISIBLE_REPLACEMENT_CHAR: Text
|
| 11 |
+
|
| 12 |
+
# A html5lib Filter class
|
| 13 |
+
_Filter = Any
|
| 14 |
+
|
| 15 |
+
class Cleaner(object):
|
| 16 |
+
def __init__(
|
| 17 |
+
self,
|
| 18 |
+
tags: Container[Text] = ...,
|
| 19 |
+
attributes: Any = ...,
|
| 20 |
+
styles: Container[Text] = ...,
|
| 21 |
+
protocols: Container[Text] = ...,
|
| 22 |
+
strip: bool = ...,
|
| 23 |
+
strip_comments: bool = ...,
|
| 24 |
+
filters: Optional[Iterable[_Filter]] = ...,
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def clean(self, text: Text) -> Text: ...
|
| 27 |
+
|
| 28 |
+
_AttributeFilter = Callable[[Text, Text, Text], bool]
|
| 29 |
+
_AttributeDict = Dict[Text, Union[Container[Text], _AttributeFilter]]
|
| 30 |
+
|
| 31 |
+
def attribute_filter_factory(attributes: Union[_AttributeFilter, _AttributeDict, Container[Text]]) -> _AttributeFilter: ...
|
| 32 |
+
|
| 33 |
+
class BleachSanitizerFilter(object): # TODO: derives from html5lib.sanitizer.Filter
|
| 34 |
+
def __getattr__(self, item: str) -> Any: ... # incomplete
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/bleach/utils.pyi
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from collections import OrderedDict
|
| 2 |
+
from typing import Any, Mapping, Text, overload
|
| 3 |
+
|
| 4 |
+
def force_unicode(text: Text) -> Text: ...
|
| 5 |
+
@overload
|
| 6 |
+
def alphabetize_attributes(attrs: None) -> None: ...
|
| 7 |
+
@overload
|
| 8 |
+
def alphabetize_attributes(attrs: Mapping[Any, Text]) -> OrderedDict[Any, Text]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/__init__.pyi
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import logging
|
| 2 |
+
from typing import Any, Optional, Text
|
| 3 |
+
|
| 4 |
+
from .s3.connection import S3Connection
|
| 5 |
+
|
| 6 |
+
Version: Any
|
| 7 |
+
UserAgent: Any
|
| 8 |
+
config: Any
|
| 9 |
+
BUCKET_NAME_RE: Any
|
| 10 |
+
TOO_LONG_DNS_NAME_COMP: Any
|
| 11 |
+
GENERATION_RE: Any
|
| 12 |
+
VERSION_RE: Any
|
| 13 |
+
ENDPOINTS_PATH: Any
|
| 14 |
+
|
| 15 |
+
def init_logging(): ...
|
| 16 |
+
|
| 17 |
+
class NullHandler(logging.Handler):
|
| 18 |
+
def emit(self, record): ...
|
| 19 |
+
|
| 20 |
+
log: Any
|
| 21 |
+
perflog: Any
|
| 22 |
+
|
| 23 |
+
def set_file_logger(name, filepath, level: Any = ..., format_string: Optional[Any] = ...): ...
|
| 24 |
+
def set_stream_logger(name, level: Any = ..., format_string: Optional[Any] = ...): ...
|
| 25 |
+
def connect_sqs(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 26 |
+
def connect_s3(
|
| 27 |
+
aws_access_key_id: Optional[Text] = ..., aws_secret_access_key: Optional[Text] = ..., **kwargs
|
| 28 |
+
) -> S3Connection: ...
|
| 29 |
+
def connect_gs(gs_access_key_id: Optional[Any] = ..., gs_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 30 |
+
def connect_ec2(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 31 |
+
def connect_elb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 32 |
+
def connect_autoscale(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 33 |
+
def connect_cloudwatch(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 34 |
+
def connect_sdb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 35 |
+
def connect_fps(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 36 |
+
def connect_mturk(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 37 |
+
def connect_cloudfront(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 38 |
+
def connect_vpc(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 39 |
+
def connect_rds(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 40 |
+
def connect_rds2(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 41 |
+
def connect_emr(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 42 |
+
def connect_sns(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 43 |
+
def connect_iam(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 44 |
+
def connect_route53(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 45 |
+
def connect_cloudformation(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 46 |
+
def connect_euca(
|
| 47 |
+
host: Optional[Any] = ...,
|
| 48 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 49 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 50 |
+
port: int = ...,
|
| 51 |
+
path: str = ...,
|
| 52 |
+
is_secure: bool = ...,
|
| 53 |
+
**kwargs,
|
| 54 |
+
): ...
|
| 55 |
+
def connect_glacier(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 56 |
+
def connect_ec2_endpoint(url, aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 57 |
+
def connect_walrus(
|
| 58 |
+
host: Optional[Any] = ...,
|
| 59 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 60 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 61 |
+
port: int = ...,
|
| 62 |
+
path: str = ...,
|
| 63 |
+
is_secure: bool = ...,
|
| 64 |
+
**kwargs,
|
| 65 |
+
): ...
|
| 66 |
+
def connect_ses(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 67 |
+
def connect_sts(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 68 |
+
def connect_ia(
|
| 69 |
+
ia_access_key_id: Optional[Any] = ..., ia_secret_access_key: Optional[Any] = ..., is_secure: bool = ..., **kwargs
|
| 70 |
+
): ...
|
| 71 |
+
def connect_dynamodb(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 72 |
+
def connect_swf(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 73 |
+
def connect_cloudsearch(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 74 |
+
def connect_cloudsearch2(
|
| 75 |
+
aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., sign_request: bool = ..., **kwargs
|
| 76 |
+
): ...
|
| 77 |
+
def connect_cloudsearchdomain(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 78 |
+
def connect_beanstalk(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 79 |
+
def connect_elastictranscoder(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 80 |
+
def connect_opsworks(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 81 |
+
def connect_redshift(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 82 |
+
def connect_support(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 83 |
+
def connect_cloudtrail(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 84 |
+
def connect_directconnect(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 85 |
+
def connect_kinesis(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 86 |
+
def connect_logs(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 87 |
+
def connect_route53domains(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 88 |
+
def connect_cognito_identity(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 89 |
+
def connect_cognito_sync(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 90 |
+
def connect_kms(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 91 |
+
def connect_awslambda(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 92 |
+
def connect_codedeploy(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 93 |
+
def connect_configservice(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 94 |
+
def connect_cloudhsm(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 95 |
+
def connect_ec2containerservice(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 96 |
+
def connect_machinelearning(aws_access_key_id: Optional[Any] = ..., aws_secret_access_key: Optional[Any] = ..., **kwargs): ...
|
| 97 |
+
def storage_uri(
|
| 98 |
+
uri_str,
|
| 99 |
+
default_scheme: str = ...,
|
| 100 |
+
debug: int = ...,
|
| 101 |
+
validate: bool = ...,
|
| 102 |
+
bucket_storage_uri_class: Any = ...,
|
| 103 |
+
suppress_consec_slashes: bool = ...,
|
| 104 |
+
is_latest: bool = ...,
|
| 105 |
+
): ...
|
| 106 |
+
def storage_uri_for_key(key): ...
|
| 107 |
+
|
| 108 |
+
# Explicitly mark this package as incomplete.
|
| 109 |
+
def __getattr__(name: str) -> Any: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/auth.pyi
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from boto.auth_handler import AuthHandler
|
| 4 |
+
|
| 5 |
+
SIGV4_DETECT: Any
|
| 6 |
+
|
| 7 |
+
class HmacKeys:
|
| 8 |
+
host: Any
|
| 9 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 10 |
+
def update_provider(self, provider): ...
|
| 11 |
+
def algorithm(self): ...
|
| 12 |
+
def sign_string(self, string_to_sign): ...
|
| 13 |
+
|
| 14 |
+
class AnonAuthHandler(AuthHandler, HmacKeys):
|
| 15 |
+
capability: Any
|
| 16 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 17 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 18 |
+
|
| 19 |
+
class HmacAuthV1Handler(AuthHandler, HmacKeys):
|
| 20 |
+
capability: Any
|
| 21 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 22 |
+
def update_provider(self, provider): ...
|
| 23 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 24 |
+
|
| 25 |
+
class HmacAuthV2Handler(AuthHandler, HmacKeys):
|
| 26 |
+
capability: Any
|
| 27 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 28 |
+
def update_provider(self, provider): ...
|
| 29 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 30 |
+
|
| 31 |
+
class HmacAuthV3Handler(AuthHandler, HmacKeys):
|
| 32 |
+
capability: Any
|
| 33 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 34 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 35 |
+
|
| 36 |
+
class HmacAuthV3HTTPHandler(AuthHandler, HmacKeys):
|
| 37 |
+
capability: Any
|
| 38 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 39 |
+
def headers_to_sign(self, http_request): ...
|
| 40 |
+
def canonical_headers(self, headers_to_sign): ...
|
| 41 |
+
def string_to_sign(self, http_request): ...
|
| 42 |
+
def add_auth(self, req, **kwargs): ...
|
| 43 |
+
|
| 44 |
+
class HmacAuthV4Handler(AuthHandler, HmacKeys):
|
| 45 |
+
capability: Any
|
| 46 |
+
service_name: Any
|
| 47 |
+
region_name: Any
|
| 48 |
+
def __init__(self, host, config, provider, service_name: Optional[Any] = ..., region_name: Optional[Any] = ...) -> None: ...
|
| 49 |
+
def headers_to_sign(self, http_request): ...
|
| 50 |
+
def host_header(self, host, http_request): ...
|
| 51 |
+
def query_string(self, http_request): ...
|
| 52 |
+
def canonical_query_string(self, http_request): ...
|
| 53 |
+
def canonical_headers(self, headers_to_sign): ...
|
| 54 |
+
def signed_headers(self, headers_to_sign): ...
|
| 55 |
+
def canonical_uri(self, http_request): ...
|
| 56 |
+
def payload(self, http_request): ...
|
| 57 |
+
def canonical_request(self, http_request): ...
|
| 58 |
+
def scope(self, http_request): ...
|
| 59 |
+
def split_host_parts(self, host): ...
|
| 60 |
+
def determine_region_name(self, host): ...
|
| 61 |
+
def determine_service_name(self, host): ...
|
| 62 |
+
def credential_scope(self, http_request): ...
|
| 63 |
+
def string_to_sign(self, http_request, canonical_request): ...
|
| 64 |
+
def signature(self, http_request, string_to_sign): ...
|
| 65 |
+
def add_auth(self, req, **kwargs): ...
|
| 66 |
+
|
| 67 |
+
class S3HmacAuthV4Handler(HmacAuthV4Handler, AuthHandler):
|
| 68 |
+
capability: Any
|
| 69 |
+
region_name: Any
|
| 70 |
+
def __init__(self, *args, **kwargs) -> None: ...
|
| 71 |
+
def clean_region_name(self, region_name): ...
|
| 72 |
+
def canonical_uri(self, http_request): ...
|
| 73 |
+
def canonical_query_string(self, http_request): ...
|
| 74 |
+
def host_header(self, host, http_request): ...
|
| 75 |
+
def headers_to_sign(self, http_request): ...
|
| 76 |
+
def determine_region_name(self, host): ...
|
| 77 |
+
def determine_service_name(self, host): ...
|
| 78 |
+
def mangle_path_and_params(self, req): ...
|
| 79 |
+
def payload(self, http_request): ...
|
| 80 |
+
def add_auth(self, req, **kwargs): ...
|
| 81 |
+
def presign(self, req, expires, iso_date: Optional[Any] = ...): ...
|
| 82 |
+
|
| 83 |
+
class STSAnonHandler(AuthHandler):
|
| 84 |
+
capability: Any
|
| 85 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 86 |
+
|
| 87 |
+
class QuerySignatureHelper(HmacKeys):
|
| 88 |
+
def add_auth(self, http_request, **kwargs): ...
|
| 89 |
+
|
| 90 |
+
class QuerySignatureV0AuthHandler(QuerySignatureHelper, AuthHandler):
|
| 91 |
+
SignatureVersion: int
|
| 92 |
+
capability: Any
|
| 93 |
+
|
| 94 |
+
class QuerySignatureV1AuthHandler(QuerySignatureHelper, AuthHandler):
|
| 95 |
+
SignatureVersion: int
|
| 96 |
+
capability: Any
|
| 97 |
+
def __init__(self, *args, **kw) -> None: ...
|
| 98 |
+
|
| 99 |
+
class QuerySignatureV2AuthHandler(QuerySignatureHelper, AuthHandler):
|
| 100 |
+
SignatureVersion: int
|
| 101 |
+
capability: Any
|
| 102 |
+
|
| 103 |
+
class POSTPathQSV2AuthHandler(QuerySignatureV2AuthHandler, AuthHandler):
|
| 104 |
+
capability: Any
|
| 105 |
+
def add_auth(self, req, **kwargs): ...
|
| 106 |
+
|
| 107 |
+
def get_auth_handler(host, config, provider, requested_capability: Optional[Any] = ...): ...
|
| 108 |
+
def detect_potential_sigv4(func): ...
|
| 109 |
+
def detect_potential_s3sigv4(func): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/auth_handler.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from boto.plugin import Plugin
|
| 4 |
+
|
| 5 |
+
class NotReadyToAuthenticate(Exception): ...
|
| 6 |
+
|
| 7 |
+
class AuthHandler(Plugin):
|
| 8 |
+
capability: Any
|
| 9 |
+
def __init__(self, host, config, provider) -> None: ...
|
| 10 |
+
def add_auth(self, http_request): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/compat.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
if sys.version_info >= (3,):
|
| 5 |
+
from base64 import encodebytes as encodebytes
|
| 6 |
+
else:
|
| 7 |
+
from base64 import encodestring
|
| 8 |
+
|
| 9 |
+
encodebytes = encodestring
|
| 10 |
+
|
| 11 |
+
expanduser: Any
|
| 12 |
+
|
| 13 |
+
if sys.version_info >= (3, 0):
|
| 14 |
+
StandardError = Exception
|
| 15 |
+
else:
|
| 16 |
+
from __builtin__ import StandardError as StandardError
|
| 17 |
+
|
| 18 |
+
long_type: Any
|
| 19 |
+
unquote_str: Any
|
| 20 |
+
parse_qs_safe: Any
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/connection.pyi
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from six.moves import http_client
|
| 4 |
+
|
| 5 |
+
HAVE_HTTPS_CONNECTION: bool
|
| 6 |
+
ON_APP_ENGINE: Any
|
| 7 |
+
PORTS_BY_SECURITY: Any
|
| 8 |
+
DEFAULT_CA_CERTS_FILE: Any
|
| 9 |
+
|
| 10 |
+
class HostConnectionPool:
|
| 11 |
+
queue: Any
|
| 12 |
+
def __init__(self) -> None: ...
|
| 13 |
+
def size(self): ...
|
| 14 |
+
def put(self, conn): ...
|
| 15 |
+
def get(self): ...
|
| 16 |
+
def clean(self): ...
|
| 17 |
+
|
| 18 |
+
class ConnectionPool:
|
| 19 |
+
CLEAN_INTERVAL: float
|
| 20 |
+
STALE_DURATION: float
|
| 21 |
+
host_to_pool: Any
|
| 22 |
+
last_clean_time: float
|
| 23 |
+
mutex: Any
|
| 24 |
+
def __init__(self) -> None: ...
|
| 25 |
+
def size(self): ...
|
| 26 |
+
def get_http_connection(self, host, port, is_secure): ...
|
| 27 |
+
def put_http_connection(self, host, port, is_secure, conn): ...
|
| 28 |
+
def clean(self): ...
|
| 29 |
+
|
| 30 |
+
class HTTPRequest:
|
| 31 |
+
method: Any
|
| 32 |
+
protocol: Any
|
| 33 |
+
host: Any
|
| 34 |
+
port: Any
|
| 35 |
+
path: Any
|
| 36 |
+
auth_path: Any
|
| 37 |
+
params: Any
|
| 38 |
+
headers: Any
|
| 39 |
+
body: Any
|
| 40 |
+
def __init__(self, method, protocol, host, port, path, auth_path, params, headers, body) -> None: ...
|
| 41 |
+
def authorize(self, connection, **kwargs): ...
|
| 42 |
+
|
| 43 |
+
class HTTPResponse(http_client.HTTPResponse):
|
| 44 |
+
def __init__(self, *args, **kwargs) -> None: ...
|
| 45 |
+
def read(self, amt: Optional[Any] = ...): ...
|
| 46 |
+
|
| 47 |
+
class AWSAuthConnection:
|
| 48 |
+
suppress_consec_slashes: Any
|
| 49 |
+
num_retries: int
|
| 50 |
+
is_secure: Any
|
| 51 |
+
https_validate_certificates: Any
|
| 52 |
+
ca_certificates_file: Any
|
| 53 |
+
port: Any
|
| 54 |
+
http_exceptions: Any
|
| 55 |
+
http_unretryable_exceptions: Any
|
| 56 |
+
socket_exception_values: Any
|
| 57 |
+
https_connection_factory: Any
|
| 58 |
+
protocol: str
|
| 59 |
+
host: Any
|
| 60 |
+
path: Any
|
| 61 |
+
debug: Any
|
| 62 |
+
host_header: Any
|
| 63 |
+
http_connection_kwargs: Any
|
| 64 |
+
provider: Any
|
| 65 |
+
auth_service_name: Any
|
| 66 |
+
request_hook: Any
|
| 67 |
+
def __init__(
|
| 68 |
+
self,
|
| 69 |
+
host,
|
| 70 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 71 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 72 |
+
is_secure: bool = ...,
|
| 73 |
+
port: Optional[Any] = ...,
|
| 74 |
+
proxy: Optional[Any] = ...,
|
| 75 |
+
proxy_port: Optional[Any] = ...,
|
| 76 |
+
proxy_user: Optional[Any] = ...,
|
| 77 |
+
proxy_pass: Optional[Any] = ...,
|
| 78 |
+
debug: int = ...,
|
| 79 |
+
https_connection_factory: Optional[Any] = ...,
|
| 80 |
+
path: str = ...,
|
| 81 |
+
provider: str = ...,
|
| 82 |
+
security_token: Optional[Any] = ...,
|
| 83 |
+
suppress_consec_slashes: bool = ...,
|
| 84 |
+
validate_certs: bool = ...,
|
| 85 |
+
profile_name: Optional[Any] = ...,
|
| 86 |
+
) -> None: ...
|
| 87 |
+
auth_region_name: Any
|
| 88 |
+
@property
|
| 89 |
+
def connection(self): ...
|
| 90 |
+
@property
|
| 91 |
+
def aws_access_key_id(self): ...
|
| 92 |
+
@property
|
| 93 |
+
def gs_access_key_id(self) -> Any: ...
|
| 94 |
+
access_key: Any
|
| 95 |
+
@property
|
| 96 |
+
def aws_secret_access_key(self): ...
|
| 97 |
+
@property
|
| 98 |
+
def gs_secret_access_key(self): ...
|
| 99 |
+
secret_key: Any
|
| 100 |
+
@property
|
| 101 |
+
def profile_name(self): ...
|
| 102 |
+
def get_path(self, path: str = ...): ...
|
| 103 |
+
def server_name(self, port: Optional[Any] = ...): ...
|
| 104 |
+
proxy: Any
|
| 105 |
+
proxy_port: Any
|
| 106 |
+
proxy_user: Any
|
| 107 |
+
proxy_pass: Any
|
| 108 |
+
no_proxy: Any
|
| 109 |
+
use_proxy: Any
|
| 110 |
+
def handle_proxy(self, proxy, proxy_port, proxy_user, proxy_pass): ...
|
| 111 |
+
def get_http_connection(self, host, port, is_secure): ...
|
| 112 |
+
def skip_proxy(self, host): ...
|
| 113 |
+
def new_http_connection(self, host, port, is_secure): ...
|
| 114 |
+
def put_http_connection(self, host, port, is_secure, connection): ...
|
| 115 |
+
def proxy_ssl(self, host: Optional[Any] = ..., port: Optional[Any] = ...): ...
|
| 116 |
+
def prefix_proxy_to_path(self, path, host: Optional[Any] = ...): ...
|
| 117 |
+
def get_proxy_auth_header(self): ...
|
| 118 |
+
def get_proxy_url_with_auth(self): ...
|
| 119 |
+
def set_host_header(self, request): ...
|
| 120 |
+
def set_request_hook(self, hook): ...
|
| 121 |
+
def build_base_http_request(
|
| 122 |
+
self,
|
| 123 |
+
method,
|
| 124 |
+
path,
|
| 125 |
+
auth_path,
|
| 126 |
+
params: Optional[Any] = ...,
|
| 127 |
+
headers: Optional[Any] = ...,
|
| 128 |
+
data: str = ...,
|
| 129 |
+
host: Optional[Any] = ...,
|
| 130 |
+
): ...
|
| 131 |
+
def make_request(
|
| 132 |
+
self,
|
| 133 |
+
method,
|
| 134 |
+
path,
|
| 135 |
+
headers: Optional[Any] = ...,
|
| 136 |
+
data: str = ...,
|
| 137 |
+
host: Optional[Any] = ...,
|
| 138 |
+
auth_path: Optional[Any] = ...,
|
| 139 |
+
sender: Optional[Any] = ...,
|
| 140 |
+
override_num_retries: Optional[Any] = ...,
|
| 141 |
+
params: Optional[Any] = ...,
|
| 142 |
+
retry_handler: Optional[Any] = ...,
|
| 143 |
+
): ...
|
| 144 |
+
def close(self): ...
|
| 145 |
+
|
| 146 |
+
class AWSQueryConnection(AWSAuthConnection):
|
| 147 |
+
APIVersion: str
|
| 148 |
+
ResponseError: Any
|
| 149 |
+
def __init__(
|
| 150 |
+
self,
|
| 151 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 152 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 153 |
+
is_secure: bool = ...,
|
| 154 |
+
port: Optional[Any] = ...,
|
| 155 |
+
proxy: Optional[Any] = ...,
|
| 156 |
+
proxy_port: Optional[Any] = ...,
|
| 157 |
+
proxy_user: Optional[Any] = ...,
|
| 158 |
+
proxy_pass: Optional[Any] = ...,
|
| 159 |
+
host: Optional[Any] = ...,
|
| 160 |
+
debug: int = ...,
|
| 161 |
+
https_connection_factory: Optional[Any] = ...,
|
| 162 |
+
path: str = ...,
|
| 163 |
+
security_token: Optional[Any] = ...,
|
| 164 |
+
validate_certs: bool = ...,
|
| 165 |
+
profile_name: Optional[Any] = ...,
|
| 166 |
+
provider: str = ...,
|
| 167 |
+
) -> None: ...
|
| 168 |
+
def get_utf8_value(self, value): ...
|
| 169 |
+
def make_request(self, action, params: Optional[Any] = ..., path: str = ..., verb: str = ..., *args, **kwargs): ... # type: ignore # https://github.com/python/mypy/issues/1237
|
| 170 |
+
def build_list_params(self, params, items, label): ...
|
| 171 |
+
def build_complex_list_params(self, params, items, label, names): ...
|
| 172 |
+
def get_list(self, action, params, markers, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
|
| 173 |
+
def get_object(self, action, params, cls, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
|
| 174 |
+
def get_status(self, action, params, path: str = ..., parent: Optional[Any] = ..., verb: str = ...): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/ec2/__init__.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
RegionData: Any
|
| 4 |
+
|
| 5 |
+
def regions(**kw_params): ...
|
| 6 |
+
def connect_to_region(region_name, **kw_params): ...
|
| 7 |
+
def get_region(region_name, **kw_params): ...
|
| 8 |
+
|
| 9 |
+
# Explicitly mark this package as incomplete.
|
| 10 |
+
def __getattr__(name: str) -> Any: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/elb/__init__.pyi
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSQueryConnection
|
| 4 |
+
|
| 5 |
+
RegionData: Any
|
| 6 |
+
|
| 7 |
+
def regions(): ...
|
| 8 |
+
def connect_to_region(region_name, **kw_params): ...
|
| 9 |
+
|
| 10 |
+
class ELBConnection(AWSQueryConnection):
|
| 11 |
+
APIVersion: Any
|
| 12 |
+
DefaultRegionName: Any
|
| 13 |
+
DefaultRegionEndpoint: Any
|
| 14 |
+
region: Any
|
| 15 |
+
def __init__(
|
| 16 |
+
self,
|
| 17 |
+
aws_access_key_id=...,
|
| 18 |
+
aws_secret_access_key=...,
|
| 19 |
+
is_secure=...,
|
| 20 |
+
port=...,
|
| 21 |
+
proxy=...,
|
| 22 |
+
proxy_port=...,
|
| 23 |
+
proxy_user=...,
|
| 24 |
+
proxy_pass=...,
|
| 25 |
+
debug=...,
|
| 26 |
+
https_connection_factory=...,
|
| 27 |
+
region=...,
|
| 28 |
+
path=...,
|
| 29 |
+
security_token=...,
|
| 30 |
+
validate_certs=...,
|
| 31 |
+
profile_name=...,
|
| 32 |
+
) -> None: ...
|
| 33 |
+
def build_list_params(self, params, items, label): ...
|
| 34 |
+
def get_all_load_balancers(self, load_balancer_names=..., marker=...): ...
|
| 35 |
+
def create_load_balancer(
|
| 36 |
+
self, name, zones, listeners=..., subnets=..., security_groups=..., scheme=..., complex_listeners=...
|
| 37 |
+
): ...
|
| 38 |
+
def create_load_balancer_listeners(self, name, listeners=..., complex_listeners=...): ...
|
| 39 |
+
def delete_load_balancer(self, name): ...
|
| 40 |
+
def delete_load_balancer_listeners(self, name, ports): ...
|
| 41 |
+
def enable_availability_zones(self, load_balancer_name, zones_to_add): ...
|
| 42 |
+
def disable_availability_zones(self, load_balancer_name, zones_to_remove): ...
|
| 43 |
+
def modify_lb_attribute(self, load_balancer_name, attribute, value): ...
|
| 44 |
+
def get_all_lb_attributes(self, load_balancer_name): ...
|
| 45 |
+
def get_lb_attribute(self, load_balancer_name, attribute): ...
|
| 46 |
+
def register_instances(self, load_balancer_name, instances): ...
|
| 47 |
+
def deregister_instances(self, load_balancer_name, instances): ...
|
| 48 |
+
def describe_instance_health(self, load_balancer_name, instances=...): ...
|
| 49 |
+
def configure_health_check(self, name, health_check): ...
|
| 50 |
+
def set_lb_listener_SSL_certificate(self, lb_name, lb_port, ssl_certificate_id): ...
|
| 51 |
+
def create_app_cookie_stickiness_policy(self, name, lb_name, policy_name): ...
|
| 52 |
+
def create_lb_cookie_stickiness_policy(self, cookie_expiration_period, lb_name, policy_name): ...
|
| 53 |
+
def create_lb_policy(self, lb_name, policy_name, policy_type, policy_attributes): ...
|
| 54 |
+
def delete_lb_policy(self, lb_name, policy_name): ...
|
| 55 |
+
def set_lb_policies_of_listener(self, lb_name, lb_port, policies): ...
|
| 56 |
+
def set_lb_policies_of_backend_server(self, lb_name, instance_port, policies): ...
|
| 57 |
+
def apply_security_groups_to_lb(self, name, security_groups): ...
|
| 58 |
+
def attach_lb_to_subnets(self, name, subnets): ...
|
| 59 |
+
def detach_lb_from_subnets(self, name, subnets): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/exception.pyi
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
from boto.compat import StandardError
|
| 4 |
+
|
| 5 |
+
class BotoClientError(StandardError):
|
| 6 |
+
reason: Any
|
| 7 |
+
def __init__(self, reason, *args) -> None: ...
|
| 8 |
+
|
| 9 |
+
class SDBPersistenceError(StandardError): ...
|
| 10 |
+
class StoragePermissionsError(BotoClientError): ...
|
| 11 |
+
class S3PermissionsError(StoragePermissionsError): ...
|
| 12 |
+
class GSPermissionsError(StoragePermissionsError): ...
|
| 13 |
+
|
| 14 |
+
class BotoServerError(StandardError):
|
| 15 |
+
status: Any
|
| 16 |
+
reason: Any
|
| 17 |
+
body: Any
|
| 18 |
+
request_id: Any
|
| 19 |
+
error_code: Any
|
| 20 |
+
message: str
|
| 21 |
+
box_usage: Any
|
| 22 |
+
def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...
|
| 23 |
+
def __getattr__(self, name): ...
|
| 24 |
+
def __setattr__(self, name, value): ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name, value, connection): ...
|
| 27 |
+
|
| 28 |
+
class ConsoleOutput:
|
| 29 |
+
parent: Any
|
| 30 |
+
instance_id: Any
|
| 31 |
+
timestamp: Any
|
| 32 |
+
comment: Any
|
| 33 |
+
output: Any
|
| 34 |
+
def __init__(self, parent: Optional[Any] = ...) -> None: ...
|
| 35 |
+
def startElement(self, name, attrs, connection): ...
|
| 36 |
+
def endElement(self, name, value, connection): ...
|
| 37 |
+
|
| 38 |
+
class StorageCreateError(BotoServerError):
|
| 39 |
+
bucket: Any
|
| 40 |
+
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
|
| 41 |
+
def endElement(self, name, value, connection): ...
|
| 42 |
+
|
| 43 |
+
class S3CreateError(StorageCreateError): ...
|
| 44 |
+
class GSCreateError(StorageCreateError): ...
|
| 45 |
+
class StorageCopyError(BotoServerError): ...
|
| 46 |
+
class S3CopyError(StorageCopyError): ...
|
| 47 |
+
class GSCopyError(StorageCopyError): ...
|
| 48 |
+
|
| 49 |
+
class SQSError(BotoServerError):
|
| 50 |
+
detail: Any
|
| 51 |
+
type: Any
|
| 52 |
+
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
|
| 53 |
+
def startElement(self, name, attrs, connection): ...
|
| 54 |
+
def endElement(self, name, value, connection): ...
|
| 55 |
+
|
| 56 |
+
class SQSDecodeError(BotoClientError):
|
| 57 |
+
message: Any
|
| 58 |
+
def __init__(self, reason, message) -> None: ...
|
| 59 |
+
|
| 60 |
+
class StorageResponseError(BotoServerError):
|
| 61 |
+
resource: Any
|
| 62 |
+
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
|
| 63 |
+
def startElement(self, name, attrs, connection): ...
|
| 64 |
+
def endElement(self, name, value, connection): ...
|
| 65 |
+
|
| 66 |
+
class S3ResponseError(StorageResponseError): ...
|
| 67 |
+
class GSResponseError(StorageResponseError): ...
|
| 68 |
+
|
| 69 |
+
class EC2ResponseError(BotoServerError):
|
| 70 |
+
errors: Any
|
| 71 |
+
def __init__(self, status, reason, body: Optional[Any] = ...) -> None: ...
|
| 72 |
+
def startElement(self, name, attrs, connection): ...
|
| 73 |
+
request_id: Any
|
| 74 |
+
def endElement(self, name, value, connection): ...
|
| 75 |
+
|
| 76 |
+
class JSONResponseError(BotoServerError):
|
| 77 |
+
status: Any
|
| 78 |
+
reason: Any
|
| 79 |
+
body: Any
|
| 80 |
+
error_message: Any
|
| 81 |
+
error_code: Any
|
| 82 |
+
def __init__(self, status, reason, body: Optional[Any] = ..., *args) -> None: ...
|
| 83 |
+
|
| 84 |
+
class DynamoDBResponseError(JSONResponseError): ...
|
| 85 |
+
class SWFResponseError(JSONResponseError): ...
|
| 86 |
+
class EmrResponseError(BotoServerError): ...
|
| 87 |
+
|
| 88 |
+
class _EC2Error:
|
| 89 |
+
connection: Any
|
| 90 |
+
error_code: Any
|
| 91 |
+
error_message: Any
|
| 92 |
+
def __init__(self, connection: Optional[Any] = ...) -> None: ...
|
| 93 |
+
def startElement(self, name, attrs, connection): ...
|
| 94 |
+
def endElement(self, name, value, connection): ...
|
| 95 |
+
|
| 96 |
+
class SDBResponseError(BotoServerError): ...
|
| 97 |
+
class AWSConnectionError(BotoClientError): ...
|
| 98 |
+
class StorageDataError(BotoClientError): ...
|
| 99 |
+
class S3DataError(StorageDataError): ...
|
| 100 |
+
class GSDataError(StorageDataError): ...
|
| 101 |
+
|
| 102 |
+
class InvalidUriError(Exception):
|
| 103 |
+
message: Any
|
| 104 |
+
def __init__(self, message) -> None: ...
|
| 105 |
+
|
| 106 |
+
class InvalidAclError(Exception):
|
| 107 |
+
message: Any
|
| 108 |
+
def __init__(self, message) -> None: ...
|
| 109 |
+
|
| 110 |
+
class InvalidCorsError(Exception):
|
| 111 |
+
message: Any
|
| 112 |
+
def __init__(self, message) -> None: ...
|
| 113 |
+
|
| 114 |
+
class NoAuthHandlerFound(Exception): ...
|
| 115 |
+
|
| 116 |
+
class InvalidLifecycleConfigError(Exception):
|
| 117 |
+
message: Any
|
| 118 |
+
def __init__(self, message) -> None: ...
|
| 119 |
+
|
| 120 |
+
class ResumableTransferDisposition:
|
| 121 |
+
START_OVER: str
|
| 122 |
+
WAIT_BEFORE_RETRY: str
|
| 123 |
+
ABORT_CUR_PROCESS: str
|
| 124 |
+
ABORT: str
|
| 125 |
+
|
| 126 |
+
class ResumableUploadException(Exception):
|
| 127 |
+
message: Any
|
| 128 |
+
disposition: Any
|
| 129 |
+
def __init__(self, message, disposition) -> None: ...
|
| 130 |
+
|
| 131 |
+
class ResumableDownloadException(Exception):
|
| 132 |
+
message: Any
|
| 133 |
+
disposition: Any
|
| 134 |
+
def __init__(self, message, disposition) -> None: ...
|
| 135 |
+
|
| 136 |
+
class TooManyRecordsException(Exception):
|
| 137 |
+
message: Any
|
| 138 |
+
def __init__(self, message) -> None: ...
|
| 139 |
+
|
| 140 |
+
class PleaseRetryException(Exception):
|
| 141 |
+
message: Any
|
| 142 |
+
response: Any
|
| 143 |
+
def __init__(self, message, response: Optional[Any] = ...) -> None: ...
|
| 144 |
+
|
| 145 |
+
class InvalidInstanceMetadataError(Exception):
|
| 146 |
+
MSG: str
|
| 147 |
+
def __init__(self, msg) -> None: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/__init__.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List
|
| 2 |
+
|
| 3 |
+
import boto.regioninfo
|
| 4 |
+
|
| 5 |
+
def regions() -> List[boto.regioninfo.RegionInfo]: ...
|
| 6 |
+
def connect_to_region(region_name, **kw_params): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/exceptions.pyi
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from boto.exception import BotoServerError
|
| 2 |
+
|
| 3 |
+
class InvalidGrantTokenException(BotoServerError): ...
|
| 4 |
+
class DisabledException(BotoServerError): ...
|
| 5 |
+
class LimitExceededException(BotoServerError): ...
|
| 6 |
+
class DependencyTimeoutException(BotoServerError): ...
|
| 7 |
+
class InvalidMarkerException(BotoServerError): ...
|
| 8 |
+
class AlreadyExistsException(BotoServerError): ...
|
| 9 |
+
class InvalidCiphertextException(BotoServerError): ...
|
| 10 |
+
class KeyUnavailableException(BotoServerError): ...
|
| 11 |
+
class InvalidAliasNameException(BotoServerError): ...
|
| 12 |
+
class UnsupportedOperationException(BotoServerError): ...
|
| 13 |
+
class InvalidArnException(BotoServerError): ...
|
| 14 |
+
class KMSInternalException(BotoServerError): ...
|
| 15 |
+
class InvalidKeyUsageException(BotoServerError): ...
|
| 16 |
+
class MalformedPolicyDocumentException(BotoServerError): ...
|
| 17 |
+
class NotFoundException(BotoServerError): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/kms/layer1.pyi
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Mapping, Optional, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSQueryConnection
|
| 4 |
+
|
| 5 |
+
class KMSConnection(AWSQueryConnection):
|
| 6 |
+
APIVersion: str
|
| 7 |
+
DefaultRegionName: str
|
| 8 |
+
DefaultRegionEndpoint: str
|
| 9 |
+
ServiceName: str
|
| 10 |
+
TargetPrefix: str
|
| 11 |
+
ResponseError: Type[Exception]
|
| 12 |
+
region: Any
|
| 13 |
+
def __init__(self, **kwargs) -> None: ...
|
| 14 |
+
def create_alias(self, alias_name: str, target_key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 15 |
+
def create_grant(
|
| 16 |
+
self,
|
| 17 |
+
key_id: str,
|
| 18 |
+
grantee_principal: str,
|
| 19 |
+
retiring_principal: Optional[str] = ...,
|
| 20 |
+
operations: Optional[List[str]] = ...,
|
| 21 |
+
constraints: Optional[Dict[str, Dict[str, str]]] = ...,
|
| 22 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 23 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 24 |
+
def create_key(
|
| 25 |
+
self, policy: Optional[str] = ..., description: Optional[str] = ..., key_usage: Optional[str] = ...
|
| 26 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 27 |
+
def decrypt(
|
| 28 |
+
self,
|
| 29 |
+
ciphertext_blob: bytes,
|
| 30 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 31 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 32 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 33 |
+
def delete_alias(self, alias_name: str) -> Optional[Dict[str, Any]]: ...
|
| 34 |
+
def describe_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 35 |
+
def disable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 36 |
+
def disable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 37 |
+
def enable_key(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 38 |
+
def enable_key_rotation(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 39 |
+
def encrypt(
|
| 40 |
+
self,
|
| 41 |
+
key_id: str,
|
| 42 |
+
plaintext: bytes,
|
| 43 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 44 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 45 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 46 |
+
def generate_data_key(
|
| 47 |
+
self,
|
| 48 |
+
key_id: str,
|
| 49 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 50 |
+
number_of_bytes: Optional[int] = ...,
|
| 51 |
+
key_spec: Optional[str] = ...,
|
| 52 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 53 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 54 |
+
def generate_data_key_without_plaintext(
|
| 55 |
+
self,
|
| 56 |
+
key_id: str,
|
| 57 |
+
encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 58 |
+
key_spec: Optional[str] = ...,
|
| 59 |
+
number_of_bytes: Optional[int] = ...,
|
| 60 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 61 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 62 |
+
def generate_random(self, number_of_bytes: Optional[int] = ...) -> Optional[Dict[str, Any]]: ...
|
| 63 |
+
def get_key_policy(self, key_id: str, policy_name: str) -> Optional[Dict[str, Any]]: ...
|
| 64 |
+
def get_key_rotation_status(self, key_id: str) -> Optional[Dict[str, Any]]: ...
|
| 65 |
+
def list_aliases(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 66 |
+
def list_grants(self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 67 |
+
def list_key_policies(
|
| 68 |
+
self, key_id: str, limit: Optional[int] = ..., marker: Optional[str] = ...
|
| 69 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 70 |
+
def list_keys(self, limit: Optional[int] = ..., marker: Optional[str] = ...) -> Optional[Dict[str, Any]]: ...
|
| 71 |
+
def put_key_policy(self, key_id: str, policy_name: str, policy: str) -> Optional[Dict[str, Any]]: ...
|
| 72 |
+
def re_encrypt(
|
| 73 |
+
self,
|
| 74 |
+
ciphertext_blob: bytes,
|
| 75 |
+
destination_key_id: str,
|
| 76 |
+
source_encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 77 |
+
destination_encryption_context: Optional[Mapping[str, Any]] = ...,
|
| 78 |
+
grant_tokens: Optional[List[str]] = ...,
|
| 79 |
+
) -> Optional[Dict[str, Any]]: ...
|
| 80 |
+
def retire_grant(self, grant_token: str) -> Optional[Dict[str, Any]]: ...
|
| 81 |
+
def revoke_grant(self, key_id: str, grant_id: str) -> Optional[Dict[str, Any]]: ...
|
| 82 |
+
def update_key_description(self, key_id: str, description: str) -> Optional[Dict[str, Any]]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/plugin.pyi
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class Plugin:
|
| 4 |
+
capability: Any
|
| 5 |
+
@classmethod
|
| 6 |
+
def is_capable(cls, requested_capability): ...
|
| 7 |
+
|
| 8 |
+
def get_plugin(cls, requested_capability: Optional[Any] = ...): ...
|
| 9 |
+
def load_plugins(config): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/regioninfo.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
def load_endpoint_json(path): ...
|
| 4 |
+
def merge_endpoints(defaults, additions): ...
|
| 5 |
+
def load_regions(): ...
|
| 6 |
+
def get_regions(service_name, region_cls: Optional[Any] = ..., connection_cls: Optional[Any] = ...): ...
|
| 7 |
+
|
| 8 |
+
class RegionInfo:
|
| 9 |
+
connection: Any
|
| 10 |
+
name: Any
|
| 11 |
+
endpoint: Any
|
| 12 |
+
connection_cls: Any
|
| 13 |
+
def __init__(
|
| 14 |
+
self,
|
| 15 |
+
connection: Optional[Any] = ...,
|
| 16 |
+
name: Optional[Any] = ...,
|
| 17 |
+
endpoint: Optional[Any] = ...,
|
| 18 |
+
connection_cls: Optional[Any] = ...,
|
| 19 |
+
) -> None: ...
|
| 20 |
+
def startElement(self, name, attrs, connection): ...
|
| 21 |
+
def endElement(self, name, value, connection): ...
|
| 22 |
+
def connect(self, **kw_params): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/__init__.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import List, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSAuthConnection
|
| 4 |
+
from boto.regioninfo import RegionInfo
|
| 5 |
+
|
| 6 |
+
from .connection import S3Connection
|
| 7 |
+
|
| 8 |
+
class S3RegionInfo(RegionInfo):
|
| 9 |
+
def connect(
|
| 10 |
+
self,
|
| 11 |
+
name: Optional[Text] = ...,
|
| 12 |
+
endpoint: Optional[str] = ...,
|
| 13 |
+
connection_cls: Optional[Type[AWSAuthConnection]] = ...,
|
| 14 |
+
**kw_params,
|
| 15 |
+
) -> S3Connection: ...
|
| 16 |
+
|
| 17 |
+
def regions() -> List[S3RegionInfo]: ...
|
| 18 |
+
def connect_to_region(region_name: Text, **kw_params): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/acl.pyi
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Optional, Text, Union
|
| 2 |
+
|
| 3 |
+
from .connection import S3Connection
|
| 4 |
+
from .user import User
|
| 5 |
+
|
| 6 |
+
CannedACLStrings: List[str]
|
| 7 |
+
|
| 8 |
+
class Policy:
|
| 9 |
+
parent: Any
|
| 10 |
+
namespace: Any
|
| 11 |
+
acl: ACL
|
| 12 |
+
def __init__(self, parent: Optional[Any] = ...) -> None: ...
|
| 13 |
+
owner: User
|
| 14 |
+
def startElement(self, name: Text, attrs: Dict[str, Any], connection: S3Connection) -> Union[None, User, ACL]: ...
|
| 15 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 16 |
+
def to_xml(self) -> str: ...
|
| 17 |
+
|
| 18 |
+
class ACL:
|
| 19 |
+
policy: Policy
|
| 20 |
+
grants: List[Grant]
|
| 21 |
+
def __init__(self, policy: Optional[Policy] = ...) -> None: ...
|
| 22 |
+
def add_grant(self, grant: Grant) -> None: ...
|
| 23 |
+
def add_email_grant(self, permission: Text, email_address: Text) -> None: ...
|
| 24 |
+
def add_user_grant(self, permission: Text, user_id: Text, display_name: Optional[Text] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 27 |
+
def to_xml(self) -> str: ...
|
| 28 |
+
|
| 29 |
+
class Grant:
|
| 30 |
+
NameSpace: Text
|
| 31 |
+
permission: Text
|
| 32 |
+
id: Text
|
| 33 |
+
display_name: Text
|
| 34 |
+
uri: Text
|
| 35 |
+
email_address: Text
|
| 36 |
+
type: Text
|
| 37 |
+
def __init__(
|
| 38 |
+
self,
|
| 39 |
+
permission: Optional[Text] = ...,
|
| 40 |
+
type: Optional[Text] = ...,
|
| 41 |
+
id: Optional[Text] = ...,
|
| 42 |
+
display_name: Optional[Text] = ...,
|
| 43 |
+
uri: Optional[Text] = ...,
|
| 44 |
+
email_address: Optional[Text] = ...,
|
| 45 |
+
) -> None: ...
|
| 46 |
+
def startElement(self, name, attrs, connection): ...
|
| 47 |
+
def endElement(self, name: Text, value: Any, connection: S3Connection) -> None: ...
|
| 48 |
+
def to_xml(self) -> str: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucket.pyi
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, List, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from .bucketlistresultset import BucketListResultSet
|
| 4 |
+
from .connection import S3Connection
|
| 5 |
+
from .key import Key
|
| 6 |
+
|
| 7 |
+
class S3WebsiteEndpointTranslate:
|
| 8 |
+
trans_region: Dict[str, str]
|
| 9 |
+
@classmethod
|
| 10 |
+
def translate_region(cls, reg: Text) -> str: ...
|
| 11 |
+
|
| 12 |
+
S3Permissions: List[str]
|
| 13 |
+
|
| 14 |
+
class Bucket:
|
| 15 |
+
LoggingGroup: str
|
| 16 |
+
BucketPaymentBody: str
|
| 17 |
+
VersioningBody: str
|
| 18 |
+
VersionRE: str
|
| 19 |
+
MFADeleteRE: str
|
| 20 |
+
name: Text
|
| 21 |
+
connection: S3Connection
|
| 22 |
+
key_class: Type[Key]
|
| 23 |
+
def __init__(
|
| 24 |
+
self, connection: Optional[S3Connection] = ..., name: Optional[Text] = ..., key_class: Type[Key] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def __iter__(self): ...
|
| 27 |
+
def __contains__(self, key_name) -> bool: ...
|
| 28 |
+
def startElement(self, name, attrs, connection): ...
|
| 29 |
+
creation_date: Any
|
| 30 |
+
def endElement(self, name, value, connection): ...
|
| 31 |
+
def set_key_class(self, key_class): ...
|
| 32 |
+
def lookup(self, key_name, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 33 |
+
def get_key(
|
| 34 |
+
self,
|
| 35 |
+
key_name,
|
| 36 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 37 |
+
version_id: Optional[Any] = ...,
|
| 38 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 39 |
+
validate: bool = ...,
|
| 40 |
+
) -> Key: ...
|
| 41 |
+
def list(
|
| 42 |
+
self,
|
| 43 |
+
prefix: Text = ...,
|
| 44 |
+
delimiter: Text = ...,
|
| 45 |
+
marker: Text = ...,
|
| 46 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 47 |
+
encoding_type: Optional[Any] = ...,
|
| 48 |
+
) -> BucketListResultSet: ...
|
| 49 |
+
def list_versions(
|
| 50 |
+
self,
|
| 51 |
+
prefix: str = ...,
|
| 52 |
+
delimiter: str = ...,
|
| 53 |
+
key_marker: str = ...,
|
| 54 |
+
version_id_marker: str = ...,
|
| 55 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 56 |
+
encoding_type: Optional[Text] = ...,
|
| 57 |
+
) -> BucketListResultSet: ...
|
| 58 |
+
def list_multipart_uploads(
|
| 59 |
+
self,
|
| 60 |
+
key_marker: str = ...,
|
| 61 |
+
upload_id_marker: str = ...,
|
| 62 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 63 |
+
encoding_type: Optional[Any] = ...,
|
| 64 |
+
): ...
|
| 65 |
+
def validate_kwarg_names(self, kwargs, names): ...
|
| 66 |
+
def get_all_keys(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 67 |
+
def get_all_versions(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 68 |
+
def validate_get_all_versions_params(self, params): ...
|
| 69 |
+
def get_all_multipart_uploads(self, headers: Optional[Dict[Text, Text]] = ..., **params): ...
|
| 70 |
+
def new_key(self, key_name: Optional[Any] = ...): ...
|
| 71 |
+
def generate_url(
|
| 72 |
+
self,
|
| 73 |
+
expires_in,
|
| 74 |
+
method: str = ...,
|
| 75 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 76 |
+
force_http: bool = ...,
|
| 77 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 78 |
+
expires_in_absolute: bool = ...,
|
| 79 |
+
): ...
|
| 80 |
+
def delete_keys(self, keys, quiet: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 81 |
+
def delete_key(
|
| 82 |
+
self, key_name, headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ..., mfa_token: Optional[Any] = ...
|
| 83 |
+
): ...
|
| 84 |
+
def copy_key(
|
| 85 |
+
self,
|
| 86 |
+
new_key_name,
|
| 87 |
+
src_bucket_name,
|
| 88 |
+
src_key_name,
|
| 89 |
+
metadata: Optional[Any] = ...,
|
| 90 |
+
src_version_id: Optional[Any] = ...,
|
| 91 |
+
storage_class: str = ...,
|
| 92 |
+
preserve_acl: bool = ...,
|
| 93 |
+
encrypt_key: bool = ...,
|
| 94 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 95 |
+
query_args: Optional[Any] = ...,
|
| 96 |
+
): ...
|
| 97 |
+
def set_canned_acl(
|
| 98 |
+
self, acl_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 99 |
+
): ...
|
| 100 |
+
def get_xml_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
|
| 101 |
+
def set_xml_acl(
|
| 102 |
+
self,
|
| 103 |
+
acl_str,
|
| 104 |
+
key_name: str = ...,
|
| 105 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 106 |
+
version_id: Optional[Any] = ...,
|
| 107 |
+
query_args: str = ...,
|
| 108 |
+
): ...
|
| 109 |
+
def set_acl(
|
| 110 |
+
self, acl_or_str, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 111 |
+
): ...
|
| 112 |
+
def get_acl(self, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...): ...
|
| 113 |
+
def set_subresource(
|
| 114 |
+
self, subresource, value, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 115 |
+
): ...
|
| 116 |
+
def get_subresource(
|
| 117 |
+
self, subresource, key_name: str = ..., headers: Optional[Dict[Text, Text]] = ..., version_id: Optional[Any] = ...
|
| 118 |
+
): ...
|
| 119 |
+
def make_public(self, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 120 |
+
def add_email_grant(self, permission, email_address, recursive: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 121 |
+
def add_user_grant(
|
| 122 |
+
self,
|
| 123 |
+
permission,
|
| 124 |
+
user_id,
|
| 125 |
+
recursive: bool = ...,
|
| 126 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 127 |
+
display_name: Optional[Any] = ...,
|
| 128 |
+
): ...
|
| 129 |
+
def list_grants(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 130 |
+
def get_location(self): ...
|
| 131 |
+
def set_xml_logging(self, logging_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 132 |
+
def enable_logging(
|
| 133 |
+
self, target_bucket, target_prefix: str = ..., grants: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
|
| 134 |
+
): ...
|
| 135 |
+
def disable_logging(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 136 |
+
def get_logging_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 137 |
+
def set_as_logging_target(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 138 |
+
def get_request_payment(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 139 |
+
def set_request_payment(self, payer: str = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 140 |
+
def configure_versioning(
|
| 141 |
+
self, versioning, mfa_delete: bool = ..., mfa_token: Optional[Any] = ..., headers: Optional[Dict[Text, Text]] = ...
|
| 142 |
+
): ...
|
| 143 |
+
def get_versioning_status(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 144 |
+
def configure_lifecycle(self, lifecycle_config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 145 |
+
def get_lifecycle_config(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 146 |
+
def delete_lifecycle_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 147 |
+
def configure_website(
|
| 148 |
+
self,
|
| 149 |
+
suffix: Optional[Any] = ...,
|
| 150 |
+
error_key: Optional[Any] = ...,
|
| 151 |
+
redirect_all_requests_to: Optional[Any] = ...,
|
| 152 |
+
routing_rules: Optional[Any] = ...,
|
| 153 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 154 |
+
): ...
|
| 155 |
+
def set_website_configuration(self, config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 156 |
+
def set_website_configuration_xml(self, xml, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 157 |
+
def get_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 158 |
+
def get_website_configuration_obj(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 159 |
+
def get_website_configuration_with_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 160 |
+
def get_website_configuration_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 161 |
+
def delete_website_configuration(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 162 |
+
def get_website_endpoint(self): ...
|
| 163 |
+
def get_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 164 |
+
def set_policy(self, policy, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 165 |
+
def delete_policy(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 166 |
+
def set_cors_xml(self, cors_xml, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 167 |
+
def set_cors(self, cors_config, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 168 |
+
def get_cors_xml(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 169 |
+
def get_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 170 |
+
def delete_cors(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 171 |
+
def initiate_multipart_upload(
|
| 172 |
+
self,
|
| 173 |
+
key_name,
|
| 174 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 175 |
+
reduced_redundancy: bool = ...,
|
| 176 |
+
metadata: Optional[Any] = ...,
|
| 177 |
+
encrypt_key: bool = ...,
|
| 178 |
+
policy: Optional[Any] = ...,
|
| 179 |
+
): ...
|
| 180 |
+
def complete_multipart_upload(self, key_name, upload_id, xml_body, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 181 |
+
def cancel_multipart_upload(self, key_name, upload_id, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 182 |
+
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 183 |
+
def get_tags(self): ...
|
| 184 |
+
def get_xml_tags(self): ...
|
| 185 |
+
def set_xml_tags(self, tag_str, headers: Optional[Dict[Text, Text]] = ..., query_args: str = ...): ...
|
| 186 |
+
def set_tags(self, tags, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 187 |
+
def delete_tags(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlistresultset.pyi
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Iterable, Iterator, Optional
|
| 2 |
+
|
| 3 |
+
from .key import Key
|
| 4 |
+
|
| 5 |
+
def bucket_lister(
|
| 6 |
+
bucket,
|
| 7 |
+
prefix: str = ...,
|
| 8 |
+
delimiter: str = ...,
|
| 9 |
+
marker: str = ...,
|
| 10 |
+
headers: Optional[Any] = ...,
|
| 11 |
+
encoding_type: Optional[Any] = ...,
|
| 12 |
+
): ...
|
| 13 |
+
|
| 14 |
+
class BucketListResultSet(Iterable[Key]):
|
| 15 |
+
bucket: Any
|
| 16 |
+
prefix: Any
|
| 17 |
+
delimiter: Any
|
| 18 |
+
marker: Any
|
| 19 |
+
headers: Any
|
| 20 |
+
encoding_type: Any
|
| 21 |
+
def __init__(
|
| 22 |
+
self,
|
| 23 |
+
bucket: Optional[Any] = ...,
|
| 24 |
+
prefix: str = ...,
|
| 25 |
+
delimiter: str = ...,
|
| 26 |
+
marker: str = ...,
|
| 27 |
+
headers: Optional[Any] = ...,
|
| 28 |
+
encoding_type: Optional[Any] = ...,
|
| 29 |
+
) -> None: ...
|
| 30 |
+
def __iter__(self) -> Iterator[Key]: ...
|
| 31 |
+
|
| 32 |
+
def versioned_bucket_lister(
|
| 33 |
+
bucket,
|
| 34 |
+
prefix: str = ...,
|
| 35 |
+
delimiter: str = ...,
|
| 36 |
+
key_marker: str = ...,
|
| 37 |
+
version_id_marker: str = ...,
|
| 38 |
+
headers: Optional[Any] = ...,
|
| 39 |
+
encoding_type: Optional[Any] = ...,
|
| 40 |
+
): ...
|
| 41 |
+
|
| 42 |
+
class VersionedBucketListResultSet:
|
| 43 |
+
bucket: Any
|
| 44 |
+
prefix: Any
|
| 45 |
+
delimiter: Any
|
| 46 |
+
key_marker: Any
|
| 47 |
+
version_id_marker: Any
|
| 48 |
+
headers: Any
|
| 49 |
+
encoding_type: Any
|
| 50 |
+
def __init__(
|
| 51 |
+
self,
|
| 52 |
+
bucket: Optional[Any] = ...,
|
| 53 |
+
prefix: str = ...,
|
| 54 |
+
delimiter: str = ...,
|
| 55 |
+
key_marker: str = ...,
|
| 56 |
+
version_id_marker: str = ...,
|
| 57 |
+
headers: Optional[Any] = ...,
|
| 58 |
+
encoding_type: Optional[Any] = ...,
|
| 59 |
+
) -> None: ...
|
| 60 |
+
def __iter__(self) -> Iterator[Key]: ...
|
| 61 |
+
|
| 62 |
+
def multipart_upload_lister(
|
| 63 |
+
bucket, key_marker: str = ..., upload_id_marker: str = ..., headers: Optional[Any] = ..., encoding_type: Optional[Any] = ...
|
| 64 |
+
): ...
|
| 65 |
+
|
| 66 |
+
class MultiPartUploadListResultSet:
|
| 67 |
+
bucket: Any
|
| 68 |
+
key_marker: Any
|
| 69 |
+
upload_id_marker: Any
|
| 70 |
+
headers: Any
|
| 71 |
+
encoding_type: Any
|
| 72 |
+
def __init__(
|
| 73 |
+
self,
|
| 74 |
+
bucket: Optional[Any] = ...,
|
| 75 |
+
key_marker: str = ...,
|
| 76 |
+
upload_id_marker: str = ...,
|
| 77 |
+
headers: Optional[Any] = ...,
|
| 78 |
+
encoding_type: Optional[Any] = ...,
|
| 79 |
+
) -> None: ...
|
| 80 |
+
def __iter__(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/bucketlogging.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class BucketLogging:
|
| 4 |
+
target: Any
|
| 5 |
+
prefix: Any
|
| 6 |
+
grants: Any
|
| 7 |
+
def __init__(self, target: Optional[Any] = ..., prefix: Optional[Any] = ..., grants: Optional[Any] = ...) -> None: ...
|
| 8 |
+
def add_grant(self, grant): ...
|
| 9 |
+
def startElement(self, name, attrs, connection): ...
|
| 10 |
+
def endElement(self, name, value, connection): ...
|
| 11 |
+
def to_xml(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/connection.pyi
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Dict, Optional, Text, Type
|
| 2 |
+
|
| 3 |
+
from boto.connection import AWSAuthConnection
|
| 4 |
+
from boto.exception import BotoClientError
|
| 5 |
+
|
| 6 |
+
from .bucket import Bucket
|
| 7 |
+
|
| 8 |
+
def check_lowercase_bucketname(n): ...
|
| 9 |
+
def assert_case_insensitive(f): ...
|
| 10 |
+
|
| 11 |
+
class _CallingFormat:
|
| 12 |
+
def get_bucket_server(self, server, bucket): ...
|
| 13 |
+
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
|
| 14 |
+
def build_host(self, server, bucket): ...
|
| 15 |
+
def build_auth_path(self, bucket, key: str = ...): ...
|
| 16 |
+
def build_path_base(self, bucket, key: str = ...): ...
|
| 17 |
+
|
| 18 |
+
class SubdomainCallingFormat(_CallingFormat):
|
| 19 |
+
def get_bucket_server(self, server, bucket): ...
|
| 20 |
+
|
| 21 |
+
class VHostCallingFormat(_CallingFormat):
|
| 22 |
+
def get_bucket_server(self, server, bucket): ...
|
| 23 |
+
|
| 24 |
+
class OrdinaryCallingFormat(_CallingFormat):
|
| 25 |
+
def get_bucket_server(self, server, bucket): ...
|
| 26 |
+
def build_path_base(self, bucket, key: str = ...): ...
|
| 27 |
+
|
| 28 |
+
class ProtocolIndependentOrdinaryCallingFormat(OrdinaryCallingFormat):
|
| 29 |
+
def build_url_base(self, connection, protocol, server, bucket, key: str = ...): ...
|
| 30 |
+
|
| 31 |
+
class Location:
|
| 32 |
+
DEFAULT: str
|
| 33 |
+
EU: str
|
| 34 |
+
EUCentral1: str
|
| 35 |
+
USWest: str
|
| 36 |
+
USWest2: str
|
| 37 |
+
SAEast: str
|
| 38 |
+
APNortheast: str
|
| 39 |
+
APSoutheast: str
|
| 40 |
+
APSoutheast2: str
|
| 41 |
+
CNNorth1: str
|
| 42 |
+
|
| 43 |
+
class NoHostProvided: ...
|
| 44 |
+
class HostRequiredError(BotoClientError): ...
|
| 45 |
+
|
| 46 |
+
class S3Connection(AWSAuthConnection):
|
| 47 |
+
DefaultHost: Any
|
| 48 |
+
DefaultCallingFormat: Any
|
| 49 |
+
QueryString: str
|
| 50 |
+
calling_format: Any
|
| 51 |
+
bucket_class: Type[Bucket]
|
| 52 |
+
anon: Any
|
| 53 |
+
def __init__(
|
| 54 |
+
self,
|
| 55 |
+
aws_access_key_id: Optional[Any] = ...,
|
| 56 |
+
aws_secret_access_key: Optional[Any] = ...,
|
| 57 |
+
is_secure: bool = ...,
|
| 58 |
+
port: Optional[Any] = ...,
|
| 59 |
+
proxy: Optional[Any] = ...,
|
| 60 |
+
proxy_port: Optional[Any] = ...,
|
| 61 |
+
proxy_user: Optional[Any] = ...,
|
| 62 |
+
proxy_pass: Optional[Any] = ...,
|
| 63 |
+
host: Any = ...,
|
| 64 |
+
debug: int = ...,
|
| 65 |
+
https_connection_factory: Optional[Any] = ...,
|
| 66 |
+
calling_format: Any = ...,
|
| 67 |
+
path: str = ...,
|
| 68 |
+
provider: str = ...,
|
| 69 |
+
bucket_class: Type[Bucket] = ...,
|
| 70 |
+
security_token: Optional[Any] = ...,
|
| 71 |
+
suppress_consec_slashes: bool = ...,
|
| 72 |
+
anon: bool = ...,
|
| 73 |
+
validate_certs: Optional[Any] = ...,
|
| 74 |
+
profile_name: Optional[Any] = ...,
|
| 75 |
+
) -> None: ...
|
| 76 |
+
def __iter__(self): ...
|
| 77 |
+
def __contains__(self, bucket_name): ...
|
| 78 |
+
def set_bucket_class(self, bucket_class: Type[Bucket]) -> None: ...
|
| 79 |
+
def build_post_policy(self, expiration_time, conditions): ...
|
| 80 |
+
def build_post_form_args(
|
| 81 |
+
self,
|
| 82 |
+
bucket_name,
|
| 83 |
+
key,
|
| 84 |
+
expires_in: int = ...,
|
| 85 |
+
acl: Optional[Any] = ...,
|
| 86 |
+
success_action_redirect: Optional[Any] = ...,
|
| 87 |
+
max_content_length: Optional[Any] = ...,
|
| 88 |
+
http_method: str = ...,
|
| 89 |
+
fields: Optional[Any] = ...,
|
| 90 |
+
conditions: Optional[Any] = ...,
|
| 91 |
+
storage_class: str = ...,
|
| 92 |
+
server_side_encryption: Optional[Any] = ...,
|
| 93 |
+
): ...
|
| 94 |
+
def generate_url_sigv4(
|
| 95 |
+
self,
|
| 96 |
+
expires_in,
|
| 97 |
+
method,
|
| 98 |
+
bucket: str = ...,
|
| 99 |
+
key: str = ...,
|
| 100 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 101 |
+
force_http: bool = ...,
|
| 102 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 103 |
+
version_id: Optional[Any] = ...,
|
| 104 |
+
iso_date: Optional[Any] = ...,
|
| 105 |
+
): ...
|
| 106 |
+
def generate_url(
|
| 107 |
+
self,
|
| 108 |
+
expires_in,
|
| 109 |
+
method,
|
| 110 |
+
bucket: str = ...,
|
| 111 |
+
key: str = ...,
|
| 112 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 113 |
+
query_auth: bool = ...,
|
| 114 |
+
force_http: bool = ...,
|
| 115 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 116 |
+
expires_in_absolute: bool = ...,
|
| 117 |
+
version_id: Optional[Any] = ...,
|
| 118 |
+
): ...
|
| 119 |
+
def get_all_buckets(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 120 |
+
def get_canonical_user_id(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 121 |
+
def get_bucket(self, bucket_name: Text, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...) -> Bucket: ...
|
| 122 |
+
def head_bucket(self, bucket_name, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 123 |
+
def lookup(self, bucket_name, validate: bool = ..., headers: Optional[Dict[Text, Text]] = ...): ...
|
| 124 |
+
def create_bucket(
|
| 125 |
+
self, bucket_name, headers: Optional[Dict[Text, Text]] = ..., location: Any = ..., policy: Optional[Any] = ...
|
| 126 |
+
): ...
|
| 127 |
+
def delete_bucket(self, bucket, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 128 |
+
def make_request(self, method, bucket: str = ..., key: str = ..., headers: Optional[Any] = ..., data: str = ..., query_args: Optional[Any] = ..., sender: Optional[Any] = ..., override_num_retries: Optional[Any] = ..., retry_handler: Optional[Any] = ..., *args, **kwargs): ... # type: ignore # https://github.com/python/mypy/issues/1237
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/cors.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class CORSRule:
|
| 4 |
+
allowed_method: Any
|
| 5 |
+
allowed_origin: Any
|
| 6 |
+
id: Any
|
| 7 |
+
allowed_header: Any
|
| 8 |
+
max_age_seconds: Any
|
| 9 |
+
expose_header: Any
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
allowed_method: Optional[Any] = ...,
|
| 13 |
+
allowed_origin: Optional[Any] = ...,
|
| 14 |
+
id: Optional[Any] = ...,
|
| 15 |
+
allowed_header: Optional[Any] = ...,
|
| 16 |
+
max_age_seconds: Optional[Any] = ...,
|
| 17 |
+
expose_header: Optional[Any] = ...,
|
| 18 |
+
) -> None: ...
|
| 19 |
+
def startElement(self, name, attrs, connection): ...
|
| 20 |
+
def endElement(self, name, value, connection): ...
|
| 21 |
+
def to_xml(self) -> str: ...
|
| 22 |
+
|
| 23 |
+
class CORSConfiguration(List[CORSRule]):
|
| 24 |
+
def startElement(self, name, attrs, connection): ...
|
| 25 |
+
def endElement(self, name, value, connection): ...
|
| 26 |
+
def to_xml(self) -> str: ...
|
| 27 |
+
def add_rule(
|
| 28 |
+
self,
|
| 29 |
+
allowed_method,
|
| 30 |
+
allowed_origin,
|
| 31 |
+
id: Optional[Any] = ...,
|
| 32 |
+
allowed_header: Optional[Any] = ...,
|
| 33 |
+
max_age_seconds: Optional[Any] = ...,
|
| 34 |
+
expose_header: Optional[Any] = ...,
|
| 35 |
+
): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/deletemarker.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class DeleteMarker:
|
| 4 |
+
bucket: Any
|
| 5 |
+
name: Any
|
| 6 |
+
version_id: Any
|
| 7 |
+
is_latest: bool
|
| 8 |
+
last_modified: Any
|
| 9 |
+
owner: Any
|
| 10 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 11 |
+
def startElement(self, name, attrs, connection): ...
|
| 12 |
+
def endElement(self, name, value, connection): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/key.pyi
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Dict, Optional, Text, Union, overload
|
| 2 |
+
|
| 3 |
+
class Key:
|
| 4 |
+
DefaultContentType: str
|
| 5 |
+
RestoreBody: str
|
| 6 |
+
BufferSize: Any
|
| 7 |
+
base_user_settable_fields: Any
|
| 8 |
+
base_fields: Any
|
| 9 |
+
bucket: Any
|
| 10 |
+
name: str
|
| 11 |
+
metadata: Any
|
| 12 |
+
cache_control: Any
|
| 13 |
+
content_type: Any
|
| 14 |
+
content_encoding: Any
|
| 15 |
+
content_disposition: Any
|
| 16 |
+
content_language: Any
|
| 17 |
+
filename: Any
|
| 18 |
+
etag: Any
|
| 19 |
+
is_latest: bool
|
| 20 |
+
last_modified: Any
|
| 21 |
+
owner: Any
|
| 22 |
+
path: Any
|
| 23 |
+
resp: Any
|
| 24 |
+
mode: Any
|
| 25 |
+
size: Any
|
| 26 |
+
version_id: Any
|
| 27 |
+
source_version_id: Any
|
| 28 |
+
delete_marker: bool
|
| 29 |
+
encrypted: Any
|
| 30 |
+
ongoing_restore: Any
|
| 31 |
+
expiry_date: Any
|
| 32 |
+
local_hashes: Any
|
| 33 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def __iter__(self): ...
|
| 35 |
+
@property
|
| 36 |
+
def provider(self): ...
|
| 37 |
+
key: Any
|
| 38 |
+
md5: Any
|
| 39 |
+
base64md5: Any
|
| 40 |
+
storage_class: Any
|
| 41 |
+
def get_md5_from_hexdigest(self, md5_hexdigest): ...
|
| 42 |
+
def handle_encryption_headers(self, resp): ...
|
| 43 |
+
def handle_version_headers(self, resp, force: bool = ...): ...
|
| 44 |
+
def handle_restore_headers(self, response): ...
|
| 45 |
+
def handle_addl_headers(self, headers): ...
|
| 46 |
+
def open_read(
|
| 47 |
+
self,
|
| 48 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 49 |
+
query_args: str = ...,
|
| 50 |
+
override_num_retries: Optional[Any] = ...,
|
| 51 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 52 |
+
): ...
|
| 53 |
+
def open_write(self, headers: Optional[Dict[Text, Text]] = ..., override_num_retries: Optional[Any] = ...): ...
|
| 54 |
+
def open(
|
| 55 |
+
self,
|
| 56 |
+
mode: str = ...,
|
| 57 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 58 |
+
query_args: Optional[Any] = ...,
|
| 59 |
+
override_num_retries: Optional[Any] = ...,
|
| 60 |
+
): ...
|
| 61 |
+
closed: bool
|
| 62 |
+
def close(self, fast: bool = ...): ...
|
| 63 |
+
def next(self): ...
|
| 64 |
+
__next__: Any
|
| 65 |
+
def read(self, size: int = ...): ...
|
| 66 |
+
def change_storage_class(self, new_storage_class, dst_bucket: Optional[Any] = ..., validate_dst_bucket: bool = ...): ...
|
| 67 |
+
def copy(
|
| 68 |
+
self,
|
| 69 |
+
dst_bucket,
|
| 70 |
+
dst_key,
|
| 71 |
+
metadata: Optional[Any] = ...,
|
| 72 |
+
reduced_redundancy: bool = ...,
|
| 73 |
+
preserve_acl: bool = ...,
|
| 74 |
+
encrypt_key: bool = ...,
|
| 75 |
+
validate_dst_bucket: bool = ...,
|
| 76 |
+
): ...
|
| 77 |
+
def startElement(self, name, attrs, connection): ...
|
| 78 |
+
def endElement(self, name, value, connection): ...
|
| 79 |
+
def exists(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 80 |
+
def delete(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 81 |
+
def get_metadata(self, name): ...
|
| 82 |
+
def set_metadata(self, name, value): ...
|
| 83 |
+
def update_metadata(self, d): ...
|
| 84 |
+
def set_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 85 |
+
def get_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 86 |
+
def get_xml_acl(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 87 |
+
def set_xml_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 88 |
+
def set_canned_acl(self, acl_str, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 89 |
+
def get_redirect(self): ...
|
| 90 |
+
def set_redirect(self, redirect_location, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 91 |
+
def make_public(self, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 92 |
+
def generate_url(
|
| 93 |
+
self,
|
| 94 |
+
expires_in,
|
| 95 |
+
method: str = ...,
|
| 96 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 97 |
+
query_auth: bool = ...,
|
| 98 |
+
force_http: bool = ...,
|
| 99 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 100 |
+
expires_in_absolute: bool = ...,
|
| 101 |
+
version_id: Optional[Any] = ...,
|
| 102 |
+
policy: Optional[Any] = ...,
|
| 103 |
+
reduced_redundancy: bool = ...,
|
| 104 |
+
encrypt_key: bool = ...,
|
| 105 |
+
): ...
|
| 106 |
+
def send_file(
|
| 107 |
+
self,
|
| 108 |
+
fp,
|
| 109 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 110 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 111 |
+
num_cb: int = ...,
|
| 112 |
+
query_args: Optional[Any] = ...,
|
| 113 |
+
chunked_transfer: bool = ...,
|
| 114 |
+
size: Optional[Any] = ...,
|
| 115 |
+
): ...
|
| 116 |
+
def should_retry(self, response, chunked_transfer: bool = ...): ...
|
| 117 |
+
def compute_md5(self, fp, size: Optional[Any] = ...): ...
|
| 118 |
+
def set_contents_from_stream(
|
| 119 |
+
self,
|
| 120 |
+
fp,
|
| 121 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 122 |
+
replace: bool = ...,
|
| 123 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 124 |
+
num_cb: int = ...,
|
| 125 |
+
policy: Optional[Any] = ...,
|
| 126 |
+
reduced_redundancy: bool = ...,
|
| 127 |
+
query_args: Optional[Any] = ...,
|
| 128 |
+
size: Optional[Any] = ...,
|
| 129 |
+
): ...
|
| 130 |
+
def set_contents_from_file(
|
| 131 |
+
self,
|
| 132 |
+
fp,
|
| 133 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 134 |
+
replace: bool = ...,
|
| 135 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 136 |
+
num_cb: int = ...,
|
| 137 |
+
policy: Optional[Any] = ...,
|
| 138 |
+
md5: Optional[Any] = ...,
|
| 139 |
+
reduced_redundancy: bool = ...,
|
| 140 |
+
query_args: Optional[Any] = ...,
|
| 141 |
+
encrypt_key: bool = ...,
|
| 142 |
+
size: Optional[Any] = ...,
|
| 143 |
+
rewind: bool = ...,
|
| 144 |
+
): ...
|
| 145 |
+
def set_contents_from_filename(
|
| 146 |
+
self,
|
| 147 |
+
filename,
|
| 148 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 149 |
+
replace: bool = ...,
|
| 150 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 151 |
+
num_cb: int = ...,
|
| 152 |
+
policy: Optional[Any] = ...,
|
| 153 |
+
md5: Optional[Any] = ...,
|
| 154 |
+
reduced_redundancy: bool = ...,
|
| 155 |
+
encrypt_key: bool = ...,
|
| 156 |
+
): ...
|
| 157 |
+
def set_contents_from_string(
|
| 158 |
+
self,
|
| 159 |
+
string_data: Union[Text, bytes],
|
| 160 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 161 |
+
replace: bool = ...,
|
| 162 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 163 |
+
num_cb: int = ...,
|
| 164 |
+
policy: Optional[Any] = ...,
|
| 165 |
+
md5: Optional[Any] = ...,
|
| 166 |
+
reduced_redundancy: bool = ...,
|
| 167 |
+
encrypt_key: bool = ...,
|
| 168 |
+
) -> None: ...
|
| 169 |
+
def get_file(
|
| 170 |
+
self,
|
| 171 |
+
fp,
|
| 172 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 173 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 174 |
+
num_cb: int = ...,
|
| 175 |
+
torrent: bool = ...,
|
| 176 |
+
version_id: Optional[Any] = ...,
|
| 177 |
+
override_num_retries: Optional[Any] = ...,
|
| 178 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 179 |
+
): ...
|
| 180 |
+
def get_torrent_file(
|
| 181 |
+
self, fp, headers: Optional[Dict[Text, Text]] = ..., cb: Optional[Callable[[int, int], Any]] = ..., num_cb: int = ...
|
| 182 |
+
): ...
|
| 183 |
+
def get_contents_to_file(
|
| 184 |
+
self,
|
| 185 |
+
fp,
|
| 186 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 187 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 188 |
+
num_cb: int = ...,
|
| 189 |
+
torrent: bool = ...,
|
| 190 |
+
version_id: Optional[Any] = ...,
|
| 191 |
+
res_download_handler: Optional[Any] = ...,
|
| 192 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 193 |
+
): ...
|
| 194 |
+
def get_contents_to_filename(
|
| 195 |
+
self,
|
| 196 |
+
filename,
|
| 197 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 198 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 199 |
+
num_cb: int = ...,
|
| 200 |
+
torrent: bool = ...,
|
| 201 |
+
version_id: Optional[Any] = ...,
|
| 202 |
+
res_download_handler: Optional[Any] = ...,
|
| 203 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 204 |
+
): ...
|
| 205 |
+
@overload
|
| 206 |
+
def get_contents_as_string(
|
| 207 |
+
self,
|
| 208 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 209 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 210 |
+
num_cb: int = ...,
|
| 211 |
+
torrent: bool = ...,
|
| 212 |
+
version_id: Optional[Any] = ...,
|
| 213 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 214 |
+
encoding: None = ...,
|
| 215 |
+
) -> bytes: ...
|
| 216 |
+
@overload
|
| 217 |
+
def get_contents_as_string(
|
| 218 |
+
self,
|
| 219 |
+
headers: Optional[Dict[Text, Text]] = ...,
|
| 220 |
+
cb: Optional[Callable[[int, int], Any]] = ...,
|
| 221 |
+
num_cb: int = ...,
|
| 222 |
+
torrent: bool = ...,
|
| 223 |
+
version_id: Optional[Any] = ...,
|
| 224 |
+
response_headers: Optional[Dict[Text, Text]] = ...,
|
| 225 |
+
*,
|
| 226 |
+
encoding: Text,
|
| 227 |
+
) -> Text: ...
|
| 228 |
+
def add_email_grant(self, permission, email_address, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 229 |
+
def add_user_grant(
|
| 230 |
+
self, permission, user_id, headers: Optional[Dict[Text, Text]] = ..., display_name: Optional[Any] = ...
|
| 231 |
+
): ...
|
| 232 |
+
def set_remote_metadata(self, metadata_plus, metadata_minus, preserve_acl, headers: Optional[Dict[Text, Text]] = ...): ...
|
| 233 |
+
def restore(self, days, headers: Optional[Dict[Text, Text]] = ...): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/keyfile.pyi
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any
|
| 2 |
+
|
| 3 |
+
class KeyFile:
|
| 4 |
+
key: Any
|
| 5 |
+
location: int
|
| 6 |
+
closed: bool
|
| 7 |
+
softspace: int
|
| 8 |
+
mode: str
|
| 9 |
+
encoding: str
|
| 10 |
+
errors: str
|
| 11 |
+
newlines: str
|
| 12 |
+
name: Any
|
| 13 |
+
def __init__(self, key) -> None: ...
|
| 14 |
+
def tell(self): ...
|
| 15 |
+
def seek(self, pos, whence: Any = ...): ...
|
| 16 |
+
def read(self, size): ...
|
| 17 |
+
def close(self): ...
|
| 18 |
+
def isatty(self): ...
|
| 19 |
+
def getkey(self): ...
|
| 20 |
+
def write(self, buf): ...
|
| 21 |
+
def fileno(self): ...
|
| 22 |
+
def flush(self): ...
|
| 23 |
+
def next(self): ...
|
| 24 |
+
def readinto(self): ...
|
| 25 |
+
def readline(self): ...
|
| 26 |
+
def readlines(self): ...
|
| 27 |
+
def truncate(self): ...
|
| 28 |
+
def writelines(self): ...
|
| 29 |
+
def xreadlines(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/lifecycle.pyi
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class Rule:
|
| 4 |
+
id: Any
|
| 5 |
+
prefix: Any
|
| 6 |
+
status: Any
|
| 7 |
+
expiration: Any
|
| 8 |
+
transition: Any
|
| 9 |
+
def __init__(
|
| 10 |
+
self,
|
| 11 |
+
id: Optional[Any] = ...,
|
| 12 |
+
prefix: Optional[Any] = ...,
|
| 13 |
+
status: Optional[Any] = ...,
|
| 14 |
+
expiration: Optional[Any] = ...,
|
| 15 |
+
transition: Optional[Any] = ...,
|
| 16 |
+
) -> None: ...
|
| 17 |
+
def startElement(self, name, attrs, connection): ...
|
| 18 |
+
def endElement(self, name, value, connection): ...
|
| 19 |
+
def to_xml(self): ...
|
| 20 |
+
|
| 21 |
+
class Expiration:
|
| 22 |
+
days: Any
|
| 23 |
+
date: Any
|
| 24 |
+
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name, value, connection): ...
|
| 27 |
+
def to_xml(self): ...
|
| 28 |
+
|
| 29 |
+
class Transition:
|
| 30 |
+
days: Any
|
| 31 |
+
date: Any
|
| 32 |
+
storage_class: Any
|
| 33 |
+
def __init__(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def to_xml(self): ...
|
| 35 |
+
|
| 36 |
+
class Transitions(List[Transition]):
|
| 37 |
+
transition_properties: int
|
| 38 |
+
current_transition_property: int
|
| 39 |
+
temp_days: Any
|
| 40 |
+
temp_date: Any
|
| 41 |
+
temp_storage_class: Any
|
| 42 |
+
def __init__(self) -> None: ...
|
| 43 |
+
def startElement(self, name, attrs, connection): ...
|
| 44 |
+
def endElement(self, name, value, connection): ...
|
| 45 |
+
def to_xml(self): ...
|
| 46 |
+
def add_transition(self, days: Optional[Any] = ..., date: Optional[Any] = ..., storage_class: Optional[Any] = ...): ...
|
| 47 |
+
@property
|
| 48 |
+
def days(self): ...
|
| 49 |
+
@property
|
| 50 |
+
def date(self): ...
|
| 51 |
+
@property
|
| 52 |
+
def storage_class(self): ...
|
| 53 |
+
|
| 54 |
+
class Lifecycle(List[Rule]):
|
| 55 |
+
def startElement(self, name, attrs, connection): ...
|
| 56 |
+
def endElement(self, name, value, connection): ...
|
| 57 |
+
def to_xml(self): ...
|
| 58 |
+
def add_rule(
|
| 59 |
+
self,
|
| 60 |
+
id: Optional[Any] = ...,
|
| 61 |
+
prefix: str = ...,
|
| 62 |
+
status: str = ...,
|
| 63 |
+
expiration: Optional[Any] = ...,
|
| 64 |
+
transition: Optional[Any] = ...,
|
| 65 |
+
): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/multidelete.pyi
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class Deleted:
|
| 4 |
+
key: Any
|
| 5 |
+
version_id: Any
|
| 6 |
+
delete_marker: Any
|
| 7 |
+
delete_marker_version_id: Any
|
| 8 |
+
def __init__(
|
| 9 |
+
self,
|
| 10 |
+
key: Optional[Any] = ...,
|
| 11 |
+
version_id: Optional[Any] = ...,
|
| 12 |
+
delete_marker: bool = ...,
|
| 13 |
+
delete_marker_version_id: Optional[Any] = ...,
|
| 14 |
+
) -> None: ...
|
| 15 |
+
def startElement(self, name, attrs, connection): ...
|
| 16 |
+
def endElement(self, name, value, connection): ...
|
| 17 |
+
|
| 18 |
+
class Error:
|
| 19 |
+
key: Any
|
| 20 |
+
version_id: Any
|
| 21 |
+
code: Any
|
| 22 |
+
message: Any
|
| 23 |
+
def __init__(
|
| 24 |
+
self, key: Optional[Any] = ..., version_id: Optional[Any] = ..., code: Optional[Any] = ..., message: Optional[Any] = ...
|
| 25 |
+
) -> None: ...
|
| 26 |
+
def startElement(self, name, attrs, connection): ...
|
| 27 |
+
def endElement(self, name, value, connection): ...
|
| 28 |
+
|
| 29 |
+
class MultiDeleteResult:
|
| 30 |
+
bucket: Any
|
| 31 |
+
deleted: Any
|
| 32 |
+
errors: Any
|
| 33 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def startElement(self, name, attrs, connection): ...
|
| 35 |
+
def endElement(self, name, value, connection): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/multipart.pyi
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class CompleteMultiPartUpload:
|
| 4 |
+
bucket: Any
|
| 5 |
+
location: Any
|
| 6 |
+
bucket_name: Any
|
| 7 |
+
key_name: Any
|
| 8 |
+
etag: Any
|
| 9 |
+
version_id: Any
|
| 10 |
+
encrypted: Any
|
| 11 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 12 |
+
def startElement(self, name, attrs, connection): ...
|
| 13 |
+
def endElement(self, name, value, connection): ...
|
| 14 |
+
|
| 15 |
+
class Part:
|
| 16 |
+
bucket: Any
|
| 17 |
+
part_number: Any
|
| 18 |
+
last_modified: Any
|
| 19 |
+
etag: Any
|
| 20 |
+
size: Any
|
| 21 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 22 |
+
def startElement(self, name, attrs, connection): ...
|
| 23 |
+
def endElement(self, name, value, connection): ...
|
| 24 |
+
|
| 25 |
+
def part_lister(mpupload, part_number_marker: Optional[Any] = ...): ...
|
| 26 |
+
|
| 27 |
+
class MultiPartUpload:
|
| 28 |
+
bucket: Any
|
| 29 |
+
bucket_name: Any
|
| 30 |
+
key_name: Any
|
| 31 |
+
id: Any
|
| 32 |
+
initiator: Any
|
| 33 |
+
owner: Any
|
| 34 |
+
storage_class: Any
|
| 35 |
+
initiated: Any
|
| 36 |
+
part_number_marker: Any
|
| 37 |
+
next_part_number_marker: Any
|
| 38 |
+
max_parts: Any
|
| 39 |
+
is_truncated: bool
|
| 40 |
+
def __init__(self, bucket: Optional[Any] = ...) -> None: ...
|
| 41 |
+
def __iter__(self): ...
|
| 42 |
+
def to_xml(self): ...
|
| 43 |
+
def startElement(self, name, attrs, connection): ...
|
| 44 |
+
def endElement(self, name, value, connection): ...
|
| 45 |
+
def get_all_parts(
|
| 46 |
+
self, max_parts: Optional[Any] = ..., part_number_marker: Optional[Any] = ..., encoding_type: Optional[Any] = ...
|
| 47 |
+
): ...
|
| 48 |
+
def upload_part_from_file(
|
| 49 |
+
self,
|
| 50 |
+
fp,
|
| 51 |
+
part_num,
|
| 52 |
+
headers: Optional[Any] = ...,
|
| 53 |
+
replace: bool = ...,
|
| 54 |
+
cb: Optional[Any] = ...,
|
| 55 |
+
num_cb: int = ...,
|
| 56 |
+
md5: Optional[Any] = ...,
|
| 57 |
+
size: Optional[Any] = ...,
|
| 58 |
+
): ...
|
| 59 |
+
def copy_part_from_key(
|
| 60 |
+
self,
|
| 61 |
+
src_bucket_name,
|
| 62 |
+
src_key_name,
|
| 63 |
+
part_num,
|
| 64 |
+
start: Optional[Any] = ...,
|
| 65 |
+
end: Optional[Any] = ...,
|
| 66 |
+
src_version_id: Optional[Any] = ...,
|
| 67 |
+
headers: Optional[Any] = ...,
|
| 68 |
+
): ...
|
| 69 |
+
def complete_upload(self): ...
|
| 70 |
+
def cancel_upload(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/prefix.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class Prefix:
|
| 4 |
+
bucket: Any
|
| 5 |
+
name: Any
|
| 6 |
+
def __init__(self, bucket: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ...
|
| 7 |
+
def startElement(self, name, attrs, connection): ...
|
| 8 |
+
def endElement(self, name, value, connection): ...
|
| 9 |
+
@property
|
| 10 |
+
def provider(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/tagging.pyi
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
class Tag:
|
| 4 |
+
key: Any
|
| 5 |
+
value: Any
|
| 6 |
+
def __init__(self, key: Optional[Any] = ..., value: Optional[Any] = ...) -> None: ...
|
| 7 |
+
def startElement(self, name, attrs, connection): ...
|
| 8 |
+
def endElement(self, name, value, connection): ...
|
| 9 |
+
def to_xml(self): ...
|
| 10 |
+
def __eq__(self, other): ...
|
| 11 |
+
|
| 12 |
+
class TagSet(List[Tag]):
|
| 13 |
+
def startElement(self, name, attrs, connection): ...
|
| 14 |
+
def endElement(self, name, value, connection): ...
|
| 15 |
+
def add_tag(self, key, value): ...
|
| 16 |
+
def to_xml(self): ...
|
| 17 |
+
|
| 18 |
+
class Tags(List[TagSet]):
|
| 19 |
+
def startElement(self, name, attrs, connection): ...
|
| 20 |
+
def endElement(self, name, value, connection): ...
|
| 21 |
+
def to_xml(self): ...
|
| 22 |
+
def add_tag_set(self, tag_set): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/user.pyi
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Optional
|
| 2 |
+
|
| 3 |
+
class User:
|
| 4 |
+
type: Any
|
| 5 |
+
id: Any
|
| 6 |
+
display_name: Any
|
| 7 |
+
def __init__(self, parent: Optional[Any] = ..., id: str = ..., display_name: str = ...) -> None: ...
|
| 8 |
+
def startElement(self, name, attrs, connection): ...
|
| 9 |
+
def endElement(self, name, value, connection): ...
|
| 10 |
+
def to_xml(self, element_name: str = ...): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/s3/website.pyi
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, List, Optional
|
| 2 |
+
|
| 3 |
+
def tag(key, value): ...
|
| 4 |
+
|
| 5 |
+
class WebsiteConfiguration:
|
| 6 |
+
suffix: Any
|
| 7 |
+
error_key: Any
|
| 8 |
+
redirect_all_requests_to: Any
|
| 9 |
+
routing_rules: Any
|
| 10 |
+
def __init__(
|
| 11 |
+
self,
|
| 12 |
+
suffix: Optional[Any] = ...,
|
| 13 |
+
error_key: Optional[Any] = ...,
|
| 14 |
+
redirect_all_requests_to: Optional[Any] = ...,
|
| 15 |
+
routing_rules: Optional[Any] = ...,
|
| 16 |
+
) -> None: ...
|
| 17 |
+
def startElement(self, name, attrs, connection): ...
|
| 18 |
+
def endElement(self, name, value, connection): ...
|
| 19 |
+
def to_xml(self): ...
|
| 20 |
+
|
| 21 |
+
class _XMLKeyValue:
|
| 22 |
+
translator: Any
|
| 23 |
+
container: Any
|
| 24 |
+
def __init__(self, translator, container: Optional[Any] = ...) -> None: ...
|
| 25 |
+
def startElement(self, name, attrs, connection): ...
|
| 26 |
+
def endElement(self, name, value, connection): ...
|
| 27 |
+
def to_xml(self): ...
|
| 28 |
+
|
| 29 |
+
class RedirectLocation(_XMLKeyValue):
|
| 30 |
+
TRANSLATOR: Any
|
| 31 |
+
hostname: Any
|
| 32 |
+
protocol: Any
|
| 33 |
+
def __init__(self, hostname: Optional[Any] = ..., protocol: Optional[Any] = ...) -> None: ...
|
| 34 |
+
def to_xml(self): ...
|
| 35 |
+
|
| 36 |
+
class RoutingRules(List[RoutingRule]):
|
| 37 |
+
def add_rule(self, rule: RoutingRule) -> RoutingRules: ...
|
| 38 |
+
def startElement(self, name, attrs, connection): ...
|
| 39 |
+
def endElement(self, name, value, connection): ...
|
| 40 |
+
def to_xml(self): ...
|
| 41 |
+
|
| 42 |
+
class RoutingRule:
|
| 43 |
+
condition: Any
|
| 44 |
+
redirect: Any
|
| 45 |
+
def __init__(self, condition: Optional[Any] = ..., redirect: Optional[Any] = ...) -> None: ...
|
| 46 |
+
def startElement(self, name, attrs, connection): ...
|
| 47 |
+
def endElement(self, name, value, connection): ...
|
| 48 |
+
def to_xml(self): ...
|
| 49 |
+
@classmethod
|
| 50 |
+
def when(cls, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...): ...
|
| 51 |
+
def then_redirect(
|
| 52 |
+
self,
|
| 53 |
+
hostname: Optional[Any] = ...,
|
| 54 |
+
protocol: Optional[Any] = ...,
|
| 55 |
+
replace_key: Optional[Any] = ...,
|
| 56 |
+
replace_key_prefix: Optional[Any] = ...,
|
| 57 |
+
http_redirect_code: Optional[Any] = ...,
|
| 58 |
+
): ...
|
| 59 |
+
|
| 60 |
+
class Condition(_XMLKeyValue):
|
| 61 |
+
TRANSLATOR: Any
|
| 62 |
+
key_prefix: Any
|
| 63 |
+
http_error_code: Any
|
| 64 |
+
def __init__(self, key_prefix: Optional[Any] = ..., http_error_code: Optional[Any] = ...) -> None: ...
|
| 65 |
+
def to_xml(self): ...
|
| 66 |
+
|
| 67 |
+
class Redirect(_XMLKeyValue):
|
| 68 |
+
TRANSLATOR: Any
|
| 69 |
+
hostname: Any
|
| 70 |
+
protocol: Any
|
| 71 |
+
replace_key: Any
|
| 72 |
+
replace_key_prefix: Any
|
| 73 |
+
http_redirect_code: Any
|
| 74 |
+
def __init__(
|
| 75 |
+
self,
|
| 76 |
+
hostname: Optional[Any] = ...,
|
| 77 |
+
protocol: Optional[Any] = ...,
|
| 78 |
+
replace_key: Optional[Any] = ...,
|
| 79 |
+
replace_key_prefix: Optional[Any] = ...,
|
| 80 |
+
http_redirect_code: Optional[Any] = ...,
|
| 81 |
+
) -> None: ...
|
| 82 |
+
def to_xml(self): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/boto/utils.pyi
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import datetime
|
| 2 |
+
import logging.handlers
|
| 3 |
+
import subprocess
|
| 4 |
+
import sys
|
| 5 |
+
import time
|
| 6 |
+
from typing import (
|
| 7 |
+
IO,
|
| 8 |
+
Any,
|
| 9 |
+
Callable,
|
| 10 |
+
ContextManager,
|
| 11 |
+
Dict,
|
| 12 |
+
Iterable,
|
| 13 |
+
List,
|
| 14 |
+
Mapping,
|
| 15 |
+
Optional,
|
| 16 |
+
Sequence,
|
| 17 |
+
Tuple,
|
| 18 |
+
Type,
|
| 19 |
+
TypeVar,
|
| 20 |
+
Union,
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
import boto.connection
|
| 24 |
+
|
| 25 |
+
_KT = TypeVar("_KT")
|
| 26 |
+
_VT = TypeVar("_VT")
|
| 27 |
+
|
| 28 |
+
if sys.version_info >= (3,):
|
| 29 |
+
# TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO
|
| 30 |
+
import io
|
| 31 |
+
|
| 32 |
+
_StringIO = io.StringIO
|
| 33 |
+
|
| 34 |
+
from hashlib import _Hash
|
| 35 |
+
|
| 36 |
+
_HashType = _Hash
|
| 37 |
+
|
| 38 |
+
from email.message import Message as _Message
|
| 39 |
+
else:
|
| 40 |
+
# TODO move _StringIO definition into boto.compat once stubs exist and rename to StringIO
|
| 41 |
+
import StringIO
|
| 42 |
+
|
| 43 |
+
_StringIO = StringIO.StringIO[Any]
|
| 44 |
+
|
| 45 |
+
from hashlib import _hash
|
| 46 |
+
|
| 47 |
+
_HashType = _hash
|
| 48 |
+
|
| 49 |
+
# TODO use email.message.Message once stubs exist
|
| 50 |
+
_Message = Any
|
| 51 |
+
|
| 52 |
+
_Provider = Any # TODO replace this with boto.provider.Provider once stubs exist
|
| 53 |
+
_LockType = Any # TODO replace this with _thread.LockType once stubs exist
|
| 54 |
+
|
| 55 |
+
JSONDecodeError: Type[ValueError]
|
| 56 |
+
qsa_of_interest: List[str]
|
| 57 |
+
|
| 58 |
+
def unquote_v(nv: str) -> Union[str, Tuple[str, str]]: ...
|
| 59 |
+
def canonical_string(
|
| 60 |
+
method: str,
|
| 61 |
+
path: str,
|
| 62 |
+
headers: Mapping[str, Optional[str]],
|
| 63 |
+
expires: Optional[int] = ...,
|
| 64 |
+
provider: Optional[_Provider] = ...,
|
| 65 |
+
) -> str: ...
|
| 66 |
+
def merge_meta(
|
| 67 |
+
headers: Mapping[str, str], metadata: Mapping[str, str], provider: Optional[_Provider] = ...
|
| 68 |
+
) -> Mapping[str, str]: ...
|
| 69 |
+
def get_aws_metadata(headers: Mapping[str, str], provider: Optional[_Provider] = ...) -> Mapping[str, str]: ...
|
| 70 |
+
def retry_url(url: str, retry_on_404: bool = ..., num_retries: int = ..., timeout: Optional[int] = ...) -> str: ...
|
| 71 |
+
|
| 72 |
+
class LazyLoadMetadata(Dict[_KT, _VT]):
|
| 73 |
+
def __init__(self, url: str, num_retries: int, timeout: Optional[int] = ...) -> None: ...
|
| 74 |
+
|
| 75 |
+
def get_instance_metadata(
|
| 76 |
+
version: str = ..., url: str = ..., data: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
|
| 77 |
+
) -> Optional[LazyLoadMetadata[Any, Any]]: ...
|
| 78 |
+
def get_instance_identity(
|
| 79 |
+
version: str = ..., url: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
|
| 80 |
+
) -> Optional[Mapping[str, Any]]: ...
|
| 81 |
+
def get_instance_userdata(
|
| 82 |
+
version: str = ..., sep: Optional[str] = ..., url: str = ..., timeout: Optional[int] = ..., num_retries: int = ...
|
| 83 |
+
) -> Mapping[str, str]: ...
|
| 84 |
+
|
| 85 |
+
ISO8601: str
|
| 86 |
+
ISO8601_MS: str
|
| 87 |
+
RFC1123: str
|
| 88 |
+
LOCALE_LOCK: _LockType
|
| 89 |
+
|
| 90 |
+
def setlocale(name: Union[str, Tuple[str, str]]) -> ContextManager[str]: ...
|
| 91 |
+
def get_ts(ts: Optional[time.struct_time] = ...) -> str: ...
|
| 92 |
+
def parse_ts(ts: str) -> datetime.datetime: ...
|
| 93 |
+
def find_class(module_name: str, class_name: Optional[str] = ...) -> Optional[Type[Any]]: ...
|
| 94 |
+
def update_dme(username: str, password: str, dme_id: str, ip_address: str) -> str: ...
|
| 95 |
+
def fetch_file(
|
| 96 |
+
uri: str, file: Optional[IO[str]] = ..., username: Optional[str] = ..., password: Optional[str] = ...
|
| 97 |
+
) -> Optional[IO[str]]: ...
|
| 98 |
+
|
| 99 |
+
class ShellCommand:
|
| 100 |
+
exit_code: int
|
| 101 |
+
command: subprocess._CMD
|
| 102 |
+
log_fp: _StringIO
|
| 103 |
+
wait: bool
|
| 104 |
+
fail_fast: bool
|
| 105 |
+
def __init__(
|
| 106 |
+
self, command: subprocess._CMD, wait: bool = ..., fail_fast: bool = ..., cwd: Optional[subprocess._TXT] = ...
|
| 107 |
+
) -> None: ...
|
| 108 |
+
process: subprocess.Popen[Any]
|
| 109 |
+
def run(self, cwd: Optional[subprocess._CMD] = ...) -> Optional[int]: ...
|
| 110 |
+
def setReadOnly(self, value) -> None: ...
|
| 111 |
+
def getStatus(self) -> Optional[int]: ...
|
| 112 |
+
status: Optional[int]
|
| 113 |
+
def getOutput(self) -> str: ...
|
| 114 |
+
output: str
|
| 115 |
+
|
| 116 |
+
class AuthSMTPHandler(logging.handlers.SMTPHandler):
|
| 117 |
+
username: str
|
| 118 |
+
password: str
|
| 119 |
+
def __init__(
|
| 120 |
+
self, mailhost: str, username: str, password: str, fromaddr: str, toaddrs: Sequence[str], subject: str
|
| 121 |
+
) -> None: ...
|
| 122 |
+
|
| 123 |
+
class LRUCache(Dict[_KT, _VT]):
|
| 124 |
+
class _Item:
|
| 125 |
+
previous: Optional[LRUCache._Item]
|
| 126 |
+
next: Optional[LRUCache._Item]
|
| 127 |
+
key = ...
|
| 128 |
+
value = ...
|
| 129 |
+
def __init__(self, key, value) -> None: ...
|
| 130 |
+
_dict: Dict[_KT, LRUCache._Item]
|
| 131 |
+
capacity: int
|
| 132 |
+
head: Optional[LRUCache._Item]
|
| 133 |
+
tail: Optional[LRUCache._Item]
|
| 134 |
+
def __init__(self, capacity: int) -> None: ...
|
| 135 |
+
|
| 136 |
+
# This exists to work around Password.str's name shadowing the str type
|
| 137 |
+
_str = str
|
| 138 |
+
|
| 139 |
+
class Password:
|
| 140 |
+
hashfunc: Callable[[bytes], _HashType]
|
| 141 |
+
str: Optional[_str]
|
| 142 |
+
def __init__(self, str: Optional[_str] = ..., hashfunc: Optional[Callable[[bytes], _HashType]] = ...) -> None: ...
|
| 143 |
+
def set(self, value: Union[bytes, _str]) -> None: ...
|
| 144 |
+
def __eq__(self, other: Any) -> bool: ...
|
| 145 |
+
def __len__(self) -> int: ...
|
| 146 |
+
|
| 147 |
+
def notify(
|
| 148 |
+
subject: str,
|
| 149 |
+
body: Optional[str] = ...,
|
| 150 |
+
html_body: Optional[Union[Sequence[str], str]] = ...,
|
| 151 |
+
to_string: Optional[str] = ...,
|
| 152 |
+
attachments: Optional[Iterable[_Message]] = ...,
|
| 153 |
+
append_instance_id: bool = ...,
|
| 154 |
+
) -> None: ...
|
| 155 |
+
def get_utf8_value(value: str) -> bytes: ...
|
| 156 |
+
def mklist(value: Any) -> List[Any]: ...
|
| 157 |
+
def pythonize_name(name: str) -> str: ...
|
| 158 |
+
def write_mime_multipart(
|
| 159 |
+
content: List[Tuple[str, str]], compress: bool = ..., deftype: str = ..., delimiter: str = ...
|
| 160 |
+
) -> str: ...
|
| 161 |
+
def guess_mime_type(content: str, deftype: str) -> str: ...
|
| 162 |
+
def compute_md5(fp: IO[Any], buf_size: int = ..., size: Optional[int] = ...) -> Tuple[str, str, int]: ...
|
| 163 |
+
def compute_hash(
|
| 164 |
+
fp: IO[Any], buf_size: int = ..., size: Optional[int] = ..., hash_algorithm: Any = ...
|
| 165 |
+
) -> Tuple[str, str, int]: ...
|
| 166 |
+
def find_matching_headers(name: str, headers: Mapping[str, Optional[str]]) -> List[str]: ...
|
| 167 |
+
def merge_headers_by_name(name: str, headers: Mapping[str, Optional[str]]) -> str: ...
|
| 168 |
+
|
| 169 |
+
class RequestHook:
|
| 170 |
+
def handle_request_data(
|
| 171 |
+
self, request: boto.connection.HTTPRequest, response: boto.connection.HTTPResponse, error: bool = ...
|
| 172 |
+
) -> Any: ...
|
| 173 |
+
|
| 174 |
+
def host_is_ipv6(hostname: str) -> bool: ...
|
| 175 |
+
def parse_host(hostname: str) -> str: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/__init__.pyi
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .cache import Cache as Cache
|
| 2 |
+
from .decorators import cached as cached, cachedmethod as cachedmethod
|
| 3 |
+
from .lfu import LFUCache as LFUCache
|
| 4 |
+
from .lru import LRUCache as LRUCache
|
| 5 |
+
from .rr import RRCache as RRCache
|
| 6 |
+
from .ttl import TTLCache as TTLCache
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/abc.pyi
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from abc import ABCMeta
|
| 2 |
+
from typing import MutableMapping, TypeVar
|
| 3 |
+
|
| 4 |
+
_KT = TypeVar("_KT")
|
| 5 |
+
_VT = TypeVar("_VT")
|
| 6 |
+
|
| 7 |
+
class DefaultMapping(MutableMapping[_KT, _VT], metaclass=ABCMeta): ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/cache.pyi
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Callable, Generic, Iterator, Optional, TypeVar
|
| 2 |
+
|
| 3 |
+
from .abc import DefaultMapping as DefaultMapping
|
| 4 |
+
|
| 5 |
+
_KT = TypeVar("_KT")
|
| 6 |
+
_VT = TypeVar("_VT")
|
| 7 |
+
|
| 8 |
+
class Cache(DefaultMapping[_KT, _VT], Generic[_KT, _VT]):
|
| 9 |
+
def __init__(self, maxsize: int, getsizeof: Optional[Callable[[_VT], int]] = ...) -> None: ...
|
| 10 |
+
def __getitem__(self, key: _KT) -> _VT: ...
|
| 11 |
+
def __setitem__(self, key: _KT, value: _VT) -> None: ...
|
| 12 |
+
def __delitem__(self, key: _KT) -> None: ...
|
| 13 |
+
def __iter__(self) -> Iterator[_KT]: ...
|
| 14 |
+
def __len__(self) -> int: ...
|
| 15 |
+
@property
|
| 16 |
+
def maxsize(self) -> int: ...
|
| 17 |
+
@property
|
| 18 |
+
def currsize(self) -> int: ...
|
| 19 |
+
@staticmethod
|
| 20 |
+
def getsizeof(value: _VT) -> int: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/decorators.pyi
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, ContextManager, MutableMapping, Optional, TypeVar
|
| 2 |
+
|
| 3 |
+
_KT = TypeVar("_KT")
|
| 4 |
+
_VT = TypeVar("_VT")
|
| 5 |
+
_T = TypeVar("_T", bound=Callable[..., Any])
|
| 6 |
+
_T_co = TypeVar("_T_co", covariant=True)
|
| 7 |
+
_T_self = TypeVar("_T_self")
|
| 8 |
+
|
| 9 |
+
def cached(
|
| 10 |
+
cache: Optional[MutableMapping[_KT, _VT]], key: Callable[..., _KT] = ..., lock: Optional[ContextManager[_T_co]] = ...
|
| 11 |
+
) -> Callable[[_T], _T]: ...
|
| 12 |
+
def cachedmethod(
|
| 13 |
+
cache: Callable[[_T_self], Optional[MutableMapping[_KT, _VT]]],
|
| 14 |
+
key: Callable[..., _KT] = ...,
|
| 15 |
+
lock: Optional[ContextManager[_T_co]] = ...,
|
| 16 |
+
) -> Callable[[_T], _T]: ...
|
home/.vscode-server/extensions/ms-python.python-2026.4.0-linux-x64/python_files/lib/jedilsp/jedi/third_party/typeshed/third_party/2and3/cachetools/func.pyi
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import Any, Callable, Optional, Sequence, TypeVar
|
| 2 |
+
|
| 3 |
+
_T = TypeVar("_T")
|
| 4 |
+
|
| 5 |
+
_F = TypeVar("_F", bound=Callable[..., Any])
|
| 6 |
+
_RET = Callable[[_F], _F]
|
| 7 |
+
|
| 8 |
+
def lfu_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ...
|
| 9 |
+
def lru_cache(maxsize: int = ..., typed: bool = ...) -> _RET: ...
|
| 10 |
+
def rr_cache(maxsize: int = ..., choice: Optional[Callable[[Sequence[_T]], _T]] = ..., typed: bool = ...) -> _RET: ...
|
| 11 |
+
def ttl_cache(maxsize: int = ..., ttl: float = ..., timer: float = ..., typed: bool = ...) -> _RET: ...
|