botocore-stubs 1.40.33__tar.gz → 1.40.51__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.

Files changed (82) hide show
  1. {botocore_stubs-1.40.33/botocore_stubs.egg-info → botocore_stubs-1.40.51}/PKG-INFO +2 -24
  2. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/client.pyi +6 -3
  3. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/credentials.pyi +2 -1
  4. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/endpoint_provider.pyi +3 -3
  5. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/handlers.pyi +3 -0
  6. botocore_stubs-1.40.51/botocore-stubs/plugin.pyi +24 -0
  7. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/serialize.pyi +14 -5
  8. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/signers.pyi +1 -0
  9. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/tokens.pyi +3 -1
  10. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/useragent.pyi +2 -0
  11. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/utils.pyi +16 -1
  12. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51/botocore_stubs.egg-info}/PKG-INFO +2 -24
  13. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/pyproject.toml +3 -3
  14. botocore_stubs-1.40.33/botocore-stubs/plugin.pyi +0 -24
  15. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/LICENSE +0 -0
  16. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/MANIFEST.in +0 -0
  17. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/README.md +0 -0
  18. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/__init__.pyi +0 -0
  19. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/args.pyi +0 -0
  20. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/auth.pyi +0 -0
  21. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/awsrequest.pyi +0 -0
  22. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/compat.pyi +0 -0
  23. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/compress.pyi +0 -0
  24. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/config.pyi +0 -0
  25. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/configloader.pyi +0 -0
  26. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/configprovider.pyi +0 -0
  27. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/context.pyi +0 -0
  28. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/crt/__init__.pyi +0 -0
  29. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/crt/auth.pyi +0 -0
  30. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/discovery.pyi +0 -0
  31. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/__init__.pyi +0 -0
  32. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/bcdoc/__init__.pyi +0 -0
  33. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/bcdoc/docstringparser.pyi +0 -0
  34. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/bcdoc/restdoc.pyi +0 -0
  35. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/bcdoc/style.pyi +0 -0
  36. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/client.pyi +0 -0
  37. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/docstring.pyi +0 -0
  38. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/example.pyi +0 -0
  39. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/method.pyi +0 -0
  40. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/paginator.pyi +0 -0
  41. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/params.pyi +0 -0
  42. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/service.pyi +0 -0
  43. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/shape.pyi +0 -0
  44. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/sharedexample.pyi +0 -0
  45. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/translator.pyi +0 -0
  46. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/utils.pyi +0 -0
  47. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/docs/waiter.pyi +0 -0
  48. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/endpoint.pyi +0 -0
  49. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/errorfactory.pyi +0 -0
  50. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/eventstream.pyi +0 -0
  51. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/exceptions.pyi +0 -0
  52. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/history.pyi +0 -0
  53. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/hooks.pyi +0 -0
  54. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/httpchecksum.pyi +0 -0
  55. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/httpsession.pyi +0 -0
  56. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/loaders.pyi +0 -0
  57. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/model.pyi +0 -0
  58. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/monitoring.pyi +0 -0
  59. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/paginate.pyi +0 -0
  60. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/parsers.pyi +0 -0
  61. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/py.typed +0 -0
  62. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/regions.pyi +0 -0
  63. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/response.pyi +0 -0
  64. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/__init__.pyi +0 -0
  65. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/adaptive.pyi +0 -0
  66. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/base.pyi +0 -0
  67. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/bucket.pyi +0 -0
  68. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/quota.pyi +0 -0
  69. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/special.pyi +0 -0
  70. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/standard.pyi +0 -0
  71. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retries/throttling.pyi +0 -0
  72. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/retryhandler.pyi +0 -0
  73. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/session.pyi +0 -0
  74. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/stub.pyi +0 -0
  75. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/translate.pyi +0 -0
  76. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/validate.pyi +0 -0
  77. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore-stubs/waiter.pyi +0 -0
  78. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore_stubs.egg-info/SOURCES.txt +0 -0
  79. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore_stubs.egg-info/dependency_links.txt +0 -0
  80. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore_stubs.egg-info/requires.txt +0 -0
  81. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/botocore_stubs.egg-info/top_level.txt +0 -0
  82. {botocore_stubs-1.40.33 → botocore_stubs-1.40.51}/setup.cfg +0 -0
@@ -1,30 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: botocore-stubs
3
- Version: 1.40.33
3
+ Version: 1.40.51
4
4
  Summary: Type annotations and code completion for botocore
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2022 Vlad Emelianov
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
6
+ License-Expression: MIT
28
7
  Project-URL: Homepage, https://github.com/youtype/botocore-stubs
29
8
  Project-URL: Documentation, https://youtype.github.io/mypy_boto3_builder/
30
9
  Project-URL: Repository, https://github.com/youtype/botocore-stubs
@@ -33,7 +12,6 @@ Project-URL: Issues, https://github.com/youtype/botocore-stubs/issues
33
12
  Keywords: botocore,type-annotations,pyright,mypy,boto3
34
13
  Classifier: Development Status :: 5 - Production/Stable
35
14
  Classifier: Environment :: Console
36
- Classifier: License :: OSI Approved :: MIT License
37
15
  Classifier: Natural Language :: English
38
16
  Classifier: Operating System :: OS Independent
39
17
  Classifier: Programming Language :: Python :: 3
@@ -4,9 +4,9 @@ Type annotations for botocore.client module.
4
4
  Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
- from collections.abc import Callable, Mapping
7
+ from collections.abc import Mapping
8
8
  from logging import Logger
9
- from typing import Any
9
+ from typing import Any, Protocol
10
10
 
11
11
  from botocore.args import ClientArgsCreator as ClientArgsCreator
12
12
  from botocore.auth import AUTH_TYPE_MAPS as AUTH_TYPE_MAPS
@@ -53,6 +53,9 @@ from botocore.waiter import Waiter
53
53
  logger: Logger = ...
54
54
  history_recorder: HistoryRecorder = ...
55
55
 
56
+ class _AuthTokenResolver(Protocol):
57
+ def __call__(self, *, signing_name: str) -> str: ...
58
+
56
59
  class ClientCreator:
57
60
  def __init__(
58
61
  self,
@@ -66,7 +69,7 @@ class ClientCreator:
66
69
  exceptions_factory: ClientExceptionsFactory | None = ...,
67
70
  config_store: ConfigValueStore | None = ...,
68
71
  user_agent_creator: UserAgentString | None = ...,
69
- auth_token_resolver: Callable[[str], str] | None = ...,
72
+ auth_token_resolver: _AuthTokenResolver | None = None,
70
73
  ) -> None: ...
71
74
  def create_client(
72
75
  self,
@@ -264,10 +264,11 @@ class BotoProvider(CredentialProvider):
264
264
 
265
265
  class AssumeRoleProvider(CredentialProvider):
266
266
  METHOD: str = ...
267
- CANONICAL_NAME: None = ...
267
+ CANONICAL_NAME: str | None = ...
268
268
  ROLE_CONFIG_VAR: str = ...
269
269
  WEB_IDENTITY_TOKE_FILE_VAR: str = ...
270
270
  EXPIRY_WINDOW_SECONDS: int = ...
271
+ NAMED_PROVIDER_FEATURE_MAP: dict[str, str] = ...
271
272
  def __init__(
272
273
  self,
273
274
  load_config: Callable[[], Mapping[str, Any]],
@@ -119,9 +119,9 @@ class RuleCreator:
119
119
  def create(cls, **kwargs: Any) -> BaseRule: ...
120
120
 
121
121
  class ParameterType(Enum):
122
- string = type(str)
123
- boolean = type(bool)
124
- stringarray = type(tuple)
122
+ string = ...
123
+ boolean = ...
124
+ stringarray = ...
125
125
 
126
126
  class ParameterDefinition:
127
127
  def __init__(
@@ -135,6 +135,9 @@ def remove_qbusiness_chat(class_attributes: Mapping[str, Any], **kwargs: Any) ->
135
135
  def remove_bedrock_runtime_invoke_model_with_bidirectional_stream(
136
136
  class_attributes: Mapping[str, Any], **kwargs: Any
137
137
  ) -> None: ...
138
+ def enable_millisecond_timestamp_precision(
139
+ serializer_kwargs: Mapping[str, Any], **kwargs: Any
140
+ ) -> None: ...
138
141
  def add_retry_headers(request: Request, **kwargs: Any) -> None: ...
139
142
  def remove_bucket_from_url_paths_from_model(
140
143
  params: Mapping[str, Any], model: OperationModel, context: Mapping[str, Any], **kwargs: Any
@@ -0,0 +1,24 @@
1
+ """
2
+ Type annotations for botocore.plugin module.
3
+
4
+ Copyright 2025 Vlad Emelianov
5
+ """
6
+
7
+ from collections.abc import Mapping
8
+ from contextvars import Token
9
+ from dataclasses import dataclass
10
+ from logging import Logger
11
+
12
+ from botocore.client import BaseClient
13
+
14
+ log: Logger = ...
15
+
16
+ @dataclass
17
+ class PluginContext:
18
+ plugins: str | None = ...
19
+
20
+ def get_plugin_context() -> PluginContext | None: ...
21
+ def set_plugin_context(ctx: PluginContext) -> Token[PluginContext]: ...
22
+ def reset_plugin_context(token: Token[PluginContext]) -> None: ...
23
+ def get_botocore_plugins() -> str | None: ...
24
+ def load_client_plugins(client: BaseClient, plugins: Mapping[str, str]) -> None: ...
@@ -13,18 +13,27 @@ from botocore.model import OperationModel
13
13
  from botocore.utils import is_json_value_header as is_json_value_header
14
14
  from botocore.utils import parse_to_aware_datetime as parse_to_aware_datetime
15
15
  from botocore.utils import percent_encode as percent_encode
16
+ from botocore.validate import ParamValidationDecorator
16
17
 
17
- DEFAULT_TIMESTAMP_FORMAT: str
18
- ISO8601: str
19
- ISO8601_MICRO: str
20
- HOST_PREFIX_RE: Pattern[str]
18
+ DEFAULT_TIMESTAMP_FORMAT: str = ...
19
+ ISO8601: str = ...
20
+ ISO8601_MICRO: str = ...
21
+ HOST_PREFIX_RE: Pattern[str] = ...
21
22
 
22
- def create_serializer(protocol_name: str, include_validation: bool = ...) -> Any: ...
23
+ TIMESTAMP_PRECISION_DEFAULT: str = ...
24
+ TIMESTAMP_PRECISION_MILLISECOND: str = ...
25
+ TIMESTAMP_PRECISION_OPTIONS: tuple[str, ...] = ...
26
+
27
+ def create_serializer(
28
+ protocol_name: str, include_validation: bool = ..., timestamp_precision: str = ...
29
+ ) -> ParamValidationDecorator: ...
23
30
 
24
31
  class Serializer:
25
32
  DEFAULT_METHOD: str = ...
26
33
  MAP_TYPE: type[dict[str, Any]] = ...
27
34
  DEFAULT_ENCODING: str = ...
35
+
36
+ def __init__(self, timestamp_precision: str = ...) -> None: ...
28
37
  def serialize_to_request(
29
38
  self, parameters: Mapping[str, Any], operation_model: OperationModel
30
39
  ) -> dict[str, Any]: ...
@@ -19,6 +19,7 @@ from botocore.model import ServiceId
19
19
  from botocore.utils import datetime2timestamp as datetime2timestamp
20
20
 
21
21
  class RequestSigner:
22
+ METHOD_FEATURE_MAP: Mapping[str, str] = ...
22
23
  def __init__(
23
24
  self,
24
25
  service_id: ServiceId,
@@ -49,4 +49,6 @@ class SSOTokenProvider:
49
49
  class ScopedEnvTokenProvider:
50
50
  METHOD: str = ...
51
51
  def __init__(self, session: Session, environ: Mapping[str, Any] | None = ...) -> None: ...
52
- def load_token(self, **kwargs: Any) -> FrozenAuthToken | None: ...
52
+ def load_token(
53
+ self, *, signing_name: str | None = ..., **kwargs: Any
54
+ ) -> FrozenAuthToken | None: ...
@@ -5,6 +5,7 @@ Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
7
  import logging
8
+ from collections.abc import Iterable
8
9
  from typing import Any, NamedTuple, TypeVar
9
10
 
10
11
  from botocore.awsrequest import AWSRequest
@@ -15,6 +16,7 @@ _R = TypeVar("_R")
15
16
  logger: logging.Logger = ...
16
17
 
17
18
  def register_feature_id(feature_id: str) -> None: ...
19
+ def register_feature_ids(feature_ids: Iterable[str]) -> None: ...
18
20
  def sanitize_user_agent_string_component(raw_str: str, allow_hash: bool) -> str: ...
19
21
 
20
22
  class UserAgentComponentSizeConfig:
@@ -21,6 +21,7 @@ from botocore.compat import urlparse as urlparse
21
21
  from botocore.compat import urlsplit as urlsplit
22
22
  from botocore.compat import urlunsplit as urlunsplit
23
23
  from botocore.compat import zip_longest as zip_longest
24
+ from botocore.config import Config
24
25
  from botocore.credentials import Credentials
25
26
  from botocore.exceptions import ClientError as ClientError
26
27
  from botocore.exceptions import ConfigNotFound as ConfigNotFound
@@ -89,7 +90,21 @@ def set_value_from_jmespath(
89
90
  source: dict[str, Any], expression: str, value: Any, is_first: bool = ...
90
91
  ) -> None: ...
91
92
  def is_global_accesspoint(context: Any) -> bool: ...
92
- def create_nested_client(session: Session, service_name: str, **kwargs: Any) -> BaseClient: ...
93
+ def create_nested_client(
94
+ session: Session,
95
+ service_name: str,
96
+ *,
97
+ region_name: str | None = ...,
98
+ api_version: str | None = ...,
99
+ use_ssl: bool | None = ...,
100
+ verify: bool | str | None = ...,
101
+ endpoint_url: str | None = ...,
102
+ aws_access_key_id: str | None = ...,
103
+ aws_secret_access_key: str | None = ...,
104
+ aws_session_token: str | None = ...,
105
+ config: Config | None = ...,
106
+ aws_account_id: str | None = ...,
107
+ ) -> BaseClient: ...
93
108
 
94
109
  class _RetriesExceededError(Exception): ...
95
110
 
@@ -1,30 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: botocore-stubs
3
- Version: 1.40.33
3
+ Version: 1.40.51
4
4
  Summary: Type annotations and code completion for botocore
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2022 Vlad Emelianov
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
6
+ License-Expression: MIT
28
7
  Project-URL: Homepage, https://github.com/youtype/botocore-stubs
29
8
  Project-URL: Documentation, https://youtype.github.io/mypy_boto3_builder/
30
9
  Project-URL: Repository, https://github.com/youtype/botocore-stubs
@@ -33,7 +12,6 @@ Project-URL: Issues, https://github.com/youtype/botocore-stubs/issues
33
12
  Keywords: botocore,type-annotations,pyright,mypy,boto3
34
13
  Classifier: Development Status :: 5 - Production/Stable
35
14
  Classifier: Environment :: Console
36
- Classifier: License :: OSI Approved :: MIT License
37
15
  Classifier: Natural Language :: English
38
16
  Classifier: Operating System :: OS Independent
39
17
  Classifier: Programming Language :: Python :: 3
@@ -1,16 +1,16 @@
1
1
  [project]
2
2
  name = "botocore-stubs"
3
- version = "1.40.33"
3
+ version = "1.40.51"
4
4
  requires-python = ">=3.9"
5
5
  description = "Type annotations and code completion for botocore"
6
6
  authors = [{ name = "Vlad Emelianov", email = "vlad.emelianov.nz@gmail.com" }]
7
- license = { file = "LICENSE" }
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
8
9
  readme = "README.md"
9
10
  keywords = ["botocore", "type-annotations", "pyright", "mypy", "boto3"]
10
11
  classifiers = [
11
12
  "Development Status :: 5 - Production/Stable",
12
13
  "Environment :: Console",
13
- "License :: OSI Approved :: MIT License",
14
14
  "Natural Language :: English",
15
15
  "Operating System :: OS Independent",
16
16
  "Programming Language :: Python :: 3",
@@ -1,24 +0,0 @@
1
- """
2
- Type annotations for botocore.plugin module.
3
-
4
- Copyright 2025 Vlad Emelianov
5
- """
6
-
7
- import logging
8
- from contextvars import ContextVar
9
- from dataclasses import dataclass
10
- from typing import Any
11
-
12
- from botocore.client import BaseClient
13
-
14
- log: logging.Logger = ...
15
-
16
- @dataclass
17
- class PluginContext:
18
- plugins: str | None = ...
19
-
20
- def get_plugin_context() -> ContextVar[str | None]: ...
21
- def set_plugin_context(ctx: Any) -> ContextVar[str | None]: ...
22
- def reset_plugin_context(token: str | None) -> None: ...
23
- def get_botocore_plugins() -> str | None: ...
24
- def load_client_plugins(client: BaseClient, plugins: dict[str, str]) -> None: ...