botocore-stubs 1.35.84__tar.gz → 1.35.85__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of botocore-stubs might be problematic. Click here for more details.
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/PKG-INFO +1 -1
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/client.pyi +1 -1
- botocore_stubs-1.35.85/botocore-stubs/paginate.pyi +73 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/PKG-INFO +1 -1
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/pyproject.toml +9 -3
- botocore_stubs-1.35.84/botocore-stubs/paginate.pyi +0 -65
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/LICENSE +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/MANIFEST.in +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/README.md +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/__init__.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/args.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/auth.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/awsrequest.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/compat.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/compress.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/config.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/configloader.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/configprovider.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/credentials.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/crt/__init__.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/crt/auth.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/discovery.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/__init__.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/bcdoc/__init__.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/bcdoc/docstringparser.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/bcdoc/restdoc.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/bcdoc/style.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/client.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/docstring.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/example.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/method.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/paginator.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/params.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/service.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/shape.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/sharedexample.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/translator.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/utils.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/waiter.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/endpoint.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/endpoint_provider.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/errorfactory.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/eventstream.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/exceptions.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/handlers.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/history.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/hooks.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/httpchecksum.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/httpsession.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/loaders.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/model.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/monitoring.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/parsers.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/py.typed +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/regions.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/response.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/__init__.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/adaptive.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/base.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/bucket.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/quota.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/special.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/standard.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retries/throttling.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/retryhandler.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/serialize.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/session.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/signers.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/stub.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/tokens.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/translate.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/useragent.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/utils.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/validate.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/waiter.pyi +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/SOURCES.txt +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/dependency_links.txt +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/requires.txt +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/top_level.txt +0 -0
- {botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/setup.cfg +0 -0
|
@@ -129,7 +129,7 @@ class BaseClient:
|
|
|
129
129
|
# FIXME: it hides `has no attribute` errors on Client type checking
|
|
130
130
|
# def __getattr__(self, item: str) -> Any: ...
|
|
131
131
|
def close(self) -> None: ...
|
|
132
|
-
def get_paginator(self, operation_name: str) -> Paginator: ...
|
|
132
|
+
def get_paginator(self, operation_name: str) -> Paginator[Any]: ...
|
|
133
133
|
def can_paginate(self, operation_name: str) -> bool: ...
|
|
134
134
|
def get_waiter(self, waiter_name: str) -> Waiter: ...
|
|
135
135
|
@CachedProperty
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for botocore.paginate module.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from logging import Logger
|
|
8
|
+
from typing import Any, Generic, Iterator, TypeVar
|
|
9
|
+
|
|
10
|
+
from botocore.exceptions import PaginationError as PaginationError
|
|
11
|
+
from botocore.model import OperationModel
|
|
12
|
+
from botocore.utils import merge_dicts as merge_dicts
|
|
13
|
+
from botocore.utils import set_value_from_jmespath as set_value_from_jmespath
|
|
14
|
+
from jmespath.parser import ParsedResult
|
|
15
|
+
|
|
16
|
+
_R = TypeVar("_R")
|
|
17
|
+
log: Logger = ...
|
|
18
|
+
|
|
19
|
+
class TokenEncoder:
|
|
20
|
+
def encode(self, token: dict[str, Any]) -> str: ...
|
|
21
|
+
|
|
22
|
+
class TokenDecoder:
|
|
23
|
+
def decode(self, token: str) -> dict[str, Any]: ...
|
|
24
|
+
|
|
25
|
+
class PaginatorModel:
|
|
26
|
+
def __init__(self, paginator_config: Any) -> None: ...
|
|
27
|
+
def get_paginator(self, operation_name: str) -> Any: ...
|
|
28
|
+
|
|
29
|
+
class PageIterator(Generic[_R]):
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
method: Any,
|
|
33
|
+
input_token: Any,
|
|
34
|
+
output_token: Any,
|
|
35
|
+
more_results: Any,
|
|
36
|
+
result_keys: Any,
|
|
37
|
+
non_aggregate_keys: Any,
|
|
38
|
+
limit_key: str,
|
|
39
|
+
max_items: int,
|
|
40
|
+
starting_token: Any,
|
|
41
|
+
page_size: int,
|
|
42
|
+
op_kwargs: dict[str, Any],
|
|
43
|
+
) -> None: ...
|
|
44
|
+
@property
|
|
45
|
+
def result_keys(self) -> list[ParsedResult] | None: ...
|
|
46
|
+
@property
|
|
47
|
+
def resume_token(self) -> dict[str, Any] | None: ...
|
|
48
|
+
@resume_token.setter
|
|
49
|
+
def resume_token(self, value: dict[str, Any] | None) -> None: ...
|
|
50
|
+
@property
|
|
51
|
+
def non_aggregate_part(self) -> dict[str, Any]: ...
|
|
52
|
+
def __iter__(self) -> Iterator[_R]: ...
|
|
53
|
+
def search(self, expression: str) -> Iterator[_R]: ...
|
|
54
|
+
def result_key_iters(self) -> list[ResultKeyIterator[_R]]: ...
|
|
55
|
+
def build_full_result(self) -> dict[str, Any]: ...
|
|
56
|
+
|
|
57
|
+
class Paginator(Generic[_R]):
|
|
58
|
+
PAGE_ITERATOR_CLS: type[PageIterator[Any]] = ...
|
|
59
|
+
def __init__(
|
|
60
|
+
self,
|
|
61
|
+
method: str,
|
|
62
|
+
pagination_config: dict[str, Any],
|
|
63
|
+
model: OperationModel,
|
|
64
|
+
) -> None: ...
|
|
65
|
+
@property
|
|
66
|
+
def result_keys(self) -> list[ParsedResult] | None: ...
|
|
67
|
+
def paginate(self, **kwargs: Any) -> PageIterator[_R]: ...
|
|
68
|
+
|
|
69
|
+
class ResultKeyIterator(Generic[_R]):
|
|
70
|
+
def __init__(self, pages_iterator: PageIterator[_R], result_key: ParsedResult) -> None:
|
|
71
|
+
self.result_key: ParsedResult = ...
|
|
72
|
+
|
|
73
|
+
def __iter__(self) -> Iterator[_R]: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "botocore-stubs"
|
|
3
|
-
version = "1.35.
|
|
3
|
+
version = "1.35.85"
|
|
4
4
|
requires-python = ">=3.8"
|
|
5
5
|
description = "Type annotations and code completion for botocore"
|
|
6
6
|
authors = [{ name = "Vlad Emelianov", email = "vlad.emelianov.nz@gmail.com" }]
|
|
@@ -36,14 +36,20 @@ dev = [
|
|
|
36
36
|
"setuptools",
|
|
37
37
|
"pre-commit",
|
|
38
38
|
"awscrt",
|
|
39
|
-
"botocore",
|
|
39
|
+
"botocore>=1.35.0",
|
|
40
40
|
"mypy",
|
|
41
41
|
"pyright",
|
|
42
42
|
"istub",
|
|
43
43
|
"docutils",
|
|
44
44
|
"sphinx",
|
|
45
|
+
"jmespath",
|
|
46
|
+
]
|
|
47
|
+
types = [
|
|
48
|
+
"types-requests",
|
|
49
|
+
"types-python-dateutil",
|
|
50
|
+
"types-dataclasses",
|
|
51
|
+
"types-jmespath",
|
|
45
52
|
]
|
|
46
|
-
types = ["types-requests", "types-python-dateutil", "types-dataclasses"]
|
|
47
53
|
|
|
48
54
|
[tool.uv]
|
|
49
55
|
config-settings = { editable-mode = "strict" }
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Type annotations for botocore.paginate module.
|
|
3
|
-
|
|
4
|
-
Copyright 2024 Vlad Emelianov
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from logging import Logger
|
|
8
|
-
from typing import Any, Iterator
|
|
9
|
-
|
|
10
|
-
from botocore.exceptions import PaginationError as PaginationError
|
|
11
|
-
from botocore.utils import merge_dicts as merge_dicts
|
|
12
|
-
from botocore.utils import set_value_from_jmespath as set_value_from_jmespath
|
|
13
|
-
|
|
14
|
-
log: Logger = ...
|
|
15
|
-
|
|
16
|
-
class TokenEncoder:
|
|
17
|
-
def encode(self, token: dict[str, Any]) -> str: ...
|
|
18
|
-
|
|
19
|
-
class TokenDecoder:
|
|
20
|
-
def decode(self, token: str) -> dict[str, Any]: ...
|
|
21
|
-
|
|
22
|
-
class PaginatorModel:
|
|
23
|
-
def __init__(self, paginator_config: Any) -> None: ...
|
|
24
|
-
def get_paginator(self, operation_name: str) -> Any: ...
|
|
25
|
-
|
|
26
|
-
class PageIterator:
|
|
27
|
-
def __init__(
|
|
28
|
-
self,
|
|
29
|
-
method: Any,
|
|
30
|
-
input_token: Any,
|
|
31
|
-
output_token: Any,
|
|
32
|
-
more_results: Any,
|
|
33
|
-
result_keys: Any,
|
|
34
|
-
non_aggregate_keys: Any,
|
|
35
|
-
limit_key: Any,
|
|
36
|
-
max_items: int,
|
|
37
|
-
starting_token: Any,
|
|
38
|
-
page_size: int,
|
|
39
|
-
op_kwargs: Any,
|
|
40
|
-
) -> None: ...
|
|
41
|
-
@property
|
|
42
|
-
def result_keys(self) -> Any: ...
|
|
43
|
-
@property
|
|
44
|
-
def resume_token(self) -> Any: ...
|
|
45
|
-
@resume_token.setter
|
|
46
|
-
def resume_token(self, value: Any) -> None: ...
|
|
47
|
-
@property
|
|
48
|
-
def non_aggregate_part(self) -> Any: ...
|
|
49
|
-
def __iter__(self) -> Iterator[Any]: ...
|
|
50
|
-
def search(self, expression: Any) -> Iterator[Any]: ...
|
|
51
|
-
def result_key_iters(self) -> Any: ...
|
|
52
|
-
def build_full_result(self) -> Any: ...
|
|
53
|
-
|
|
54
|
-
class Paginator:
|
|
55
|
-
PAGE_ITERATOR_CLS: Any = ...
|
|
56
|
-
def __init__(self, method: Any, pagination_config: Any, model: Any) -> None: ...
|
|
57
|
-
@property
|
|
58
|
-
def result_keys(self) -> Any: ...
|
|
59
|
-
def paginate(self, **kwargs: Any) -> Any: ...
|
|
60
|
-
|
|
61
|
-
class ResultKeyIterator:
|
|
62
|
-
def __init__(self, pages_iterator: Any, result_key: Any) -> None:
|
|
63
|
-
self.result_key: Any = ...
|
|
64
|
-
|
|
65
|
-
def __iter__(self) -> Any: ...
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore-stubs/docs/bcdoc/docstringparser.pyi
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{botocore_stubs-1.35.84 → botocore_stubs-1.35.85}/botocore_stubs.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|