botocore-stubs 1.35.54__tar.gz → 1.35.57__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 (79) hide show
  1. {botocore_stubs-1.35.54/botocore_stubs.egg-info → botocore_stubs-1.35.57}/PKG-INFO +2 -1
  2. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/args.pyi +4 -3
  3. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/awsrequest.pyi +1 -1
  4. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/client.pyi +7 -5
  5. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/bcdoc/restdoc.pyi +1 -0
  6. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/handlers.pyi +13 -2
  7. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/model.pyi +2 -0
  8. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/regions.pyi +2 -0
  9. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/utils.pyi +1 -1
  10. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57/botocore_stubs.egg-info}/PKG-INFO +2 -1
  11. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/pyproject.toml +4 -17
  12. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/LICENSE +0 -0
  13. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/MANIFEST.in +0 -0
  14. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/README.md +0 -0
  15. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/__init__.pyi +0 -0
  16. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/auth.pyi +0 -0
  17. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/compat.pyi +0 -0
  18. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/compress.pyi +0 -0
  19. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/config.pyi +0 -0
  20. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/configloader.pyi +0 -0
  21. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/configprovider.pyi +0 -0
  22. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/credentials.pyi +0 -0
  23. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/crt/__init__.pyi +0 -0
  24. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/crt/auth.pyi +0 -0
  25. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/discovery.pyi +0 -0
  26. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/__init__.pyi +0 -0
  27. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/bcdoc/__init__.pyi +0 -0
  28. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/bcdoc/docstringparser.pyi +0 -0
  29. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/bcdoc/style.pyi +0 -0
  30. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/client.pyi +0 -0
  31. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/docstring.pyi +0 -0
  32. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/example.pyi +0 -0
  33. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/method.pyi +0 -0
  34. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/paginator.pyi +0 -0
  35. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/params.pyi +0 -0
  36. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/service.pyi +0 -0
  37. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/shape.pyi +0 -0
  38. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/sharedexample.pyi +0 -0
  39. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/translator.pyi +0 -0
  40. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/utils.pyi +0 -0
  41. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/docs/waiter.pyi +0 -0
  42. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/endpoint.pyi +0 -0
  43. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/endpoint_provider.pyi +0 -0
  44. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/errorfactory.pyi +0 -0
  45. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/eventstream.pyi +0 -0
  46. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/exceptions.pyi +0 -0
  47. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/history.pyi +0 -0
  48. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/hooks.pyi +0 -0
  49. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/httpchecksum.pyi +0 -0
  50. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/httpsession.pyi +0 -0
  51. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/loaders.pyi +0 -0
  52. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/monitoring.pyi +0 -0
  53. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/paginate.pyi +0 -0
  54. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/parsers.pyi +0 -0
  55. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/py.typed +0 -0
  56. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/response.pyi +0 -0
  57. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/__init__.pyi +0 -0
  58. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/adaptive.pyi +0 -0
  59. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/base.pyi +0 -0
  60. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/bucket.pyi +0 -0
  61. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/quota.pyi +0 -0
  62. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/special.pyi +0 -0
  63. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/standard.pyi +0 -0
  64. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retries/throttling.pyi +0 -0
  65. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/retryhandler.pyi +0 -0
  66. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/serialize.pyi +0 -0
  67. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/session.pyi +0 -0
  68. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/signers.pyi +0 -0
  69. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/stub.pyi +0 -0
  70. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/tokens.pyi +0 -0
  71. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/translate.pyi +0 -0
  72. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/useragent.pyi +0 -0
  73. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/validate.pyi +0 -0
  74. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore-stubs/waiter.pyi +0 -0
  75. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore_stubs.egg-info/SOURCES.txt +0 -0
  76. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore_stubs.egg-info/dependency_links.txt +0 -0
  77. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore_stubs.egg-info/requires.txt +0 -0
  78. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/botocore_stubs.egg-info/top_level.txt +0 -0
  79. {botocore_stubs-1.35.54 → botocore_stubs-1.35.57}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: botocore-stubs
3
- Version: 1.35.54
3
+ Version: 1.35.57
4
4
  Summary: Type annotations and code completion for botocore
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
6
  License: MIT License
@@ -43,6 +43,7 @@ Classifier: Programming Language :: Python :: 3.10
43
43
  Classifier: Programming Language :: Python :: 3.11
44
44
  Classifier: Programming Language :: Python :: 3.12
45
45
  Classifier: Programming Language :: Python :: 3.13
46
+ Classifier: Programming Language :: Python :: 3.14
46
47
  Classifier: Programming Language :: Python :: 3 :: Only
47
48
  Classifier: Programming Language :: Python :: Implementation :: CPython
48
49
  Classifier: Typing :: Stubs Only
@@ -14,6 +14,7 @@ from botocore.parsers import ResponseParser, ResponseParserFactory
14
14
  from botocore.serialize import BaseRestSerializer
15
15
  from botocore.signers import RequestSigner as RequestSigner
16
16
  from botocore.useragent import UserAgentString
17
+ from botocore.errorfactory import ClientExceptionsFactory
17
18
 
18
19
  if sys.version_info >= (3, 9):
19
20
  from typing import TypedDict
@@ -36,16 +37,16 @@ class _GetClientArgsTypeDef(TypedDict):
36
37
  loader: Loader
37
38
  client_config: Config
38
39
  partition: Optional[str]
39
- exceptions_factory: Any
40
+ exceptions_factory: ClientExceptionsFactory
40
41
 
41
42
  class ClientArgsCreator:
42
43
  def __init__(
43
44
  self,
44
45
  event_emitter: BaseEventHooks,
45
- user_agent: Any,
46
+ user_agent: str,
46
47
  response_parser_factory: ResponseParserFactory,
47
48
  loader: Loader,
48
- exceptions_factory: Any,
49
+ exceptions_factory: ClientExceptionsFactory,
49
50
  config_store: ConfigValueStore,
50
51
  user_agent_creator: Optional[UserAgentString] = ...,
51
52
  ) -> None: ...
@@ -48,7 +48,7 @@ def prepare_request_dict(
48
48
  request_dict: Mapping[str, Any],
49
49
  endpoint_url: str,
50
50
  context: Optional[Any] = ...,
51
- user_agent: Optional[Any] = ...,
51
+ user_agent: Optional[str] = ...,
52
52
  ) -> None: ...
53
53
  def create_request_object(request_dict: Mapping[str, Any]) -> Any: ...
54
54
 
@@ -5,6 +5,7 @@ from botocore.args import ClientArgsCreator as ClientArgsCreator
5
5
  from botocore.auth import AUTH_TYPE_MAPS as AUTH_TYPE_MAPS
6
6
  from botocore.awsrequest import prepare_request_dict as prepare_request_dict
7
7
  from botocore.config import Config as Config
8
+ from botocore.configprovider import ConfigValueStore
8
9
  from botocore.discovery import EndpointDiscoveryHandler as EndpointDiscoveryHandler
9
10
  from botocore.discovery import EndpointDiscoveryManager as EndpointDiscoveryManager
10
11
  from botocore.discovery import (
@@ -39,6 +40,7 @@ from botocore.utils import S3RegionRedirector as S3RegionRedirector
39
40
  from botocore.utils import ensure_boolean as ensure_boolean
40
41
  from botocore.utils import get_service_module_name as get_service_module_name
41
42
  from botocore.waiter import Waiter
43
+ from botocore.errorfactory import ClientExceptionsFactory
42
44
 
43
45
  logger: Logger = ...
44
46
  history_recorder: HistoryRecorder = ...
@@ -53,8 +55,8 @@ class ClientCreator:
53
55
  retry_handler_factory: Any,
54
56
  retry_config_translator: Any,
55
57
  response_parser_factory: Optional[Any] = ...,
56
- exceptions_factory: Optional[Any] = ...,
57
- config_store: Optional[Any] = ...,
58
+ exceptions_factory: Optional[ClientExceptionsFactory] = ...,
59
+ config_store: Optional[ConfigValueStore] = ...,
58
60
  user_agent_creator: Optional[UserAgentString] = ...,
59
61
  ) -> None: ...
60
62
  def create_client(
@@ -81,7 +83,7 @@ class ClientEndpointBridge:
81
83
  client_config: Optional[Any] = ...,
82
84
  default_endpoint: Optional[str] = ...,
83
85
  service_signing_name: Optional[str] = ...,
84
- config_store: Any = ...,
86
+ config_store: Optional[ConfigValueStore] = ...,
85
87
  service_signature_version: Optional[str] = ...,
86
88
  ) -> None:
87
89
  self.service_signing_name: str
@@ -89,7 +91,7 @@ class ClientEndpointBridge:
89
91
  self.scoped_config: Any
90
92
  self.client_config: Any
91
93
  self.default_endpoint: str
92
- self.config_store: Any
94
+ self.config_store: ConfigValueStore
93
95
 
94
96
  def resolve(
95
97
  self,
@@ -112,7 +114,7 @@ class BaseClient:
112
114
  loader: Loader,
113
115
  client_config: Config,
114
116
  partition: str,
115
- exceptions_factory: Any,
117
+ exceptions_factory: ClientExceptionsFactory,
116
118
  endpoint_ruleset_resolver: Optional[EndpointRulesetResolver] = ...,
117
119
  user_agent_creator: Optional[UserAgentString] = ...,
118
120
  ) -> None:
@@ -41,6 +41,7 @@ class DocumentStructure(ReSTDocument):
41
41
  def context(self) -> Dict[str, Any]: ...
42
42
  def add_new_section(self, name: str, context: Any = ...) -> Any: ...
43
43
  def get_section(self, name: str) -> Any: ...
44
+ def has_section(self, name: str) -> bool: ...
44
45
  def delete_section(self, name: str) -> None: ...
45
46
  def flush_structure(self, docs_link: Optional[str] = ...) -> bytes: ...
46
47
  def getvalue(self) -> bytes: ...
@@ -1,5 +1,5 @@
1
1
  from logging import Logger
2
- from typing import Any, Dict, Mapping, Pattern, Tuple
2
+ from typing import Any, Dict, List, Mapping, Pattern, Tuple
3
3
  from urllib.request import Request
4
4
 
5
5
  from botocore.client import BaseClient
@@ -12,6 +12,7 @@ from botocore.compat import unquote as unquote
12
12
  from botocore.compat import unquote_str as unquote_str
13
13
  from botocore.compat import urlsplit as urlsplit
14
14
  from botocore.compat import urlunsplit as urlunsplit
15
+ from botocore.docs.bcdoc.restdoc import DocumentStructure
15
16
  from botocore.exceptions import AliasConflictParameterError as AliasConflictParameterError
16
17
  from botocore.exceptions import MissingServiceIdError as MissingServiceIdError
17
18
  from botocore.exceptions import ParamValidationError as ParamValidationError
@@ -136,5 +137,15 @@ def customize_endpoint_resolver_builtins(
136
137
  **kwargs: Any,
137
138
  ) -> None: ...
138
139
  def remove_content_type_header_for_presigning(request: Request, **kwargs: Any) -> None: ...
140
+ def handle_expires_header(
141
+ operation_model: OperationModel,
142
+ response_dict: Mapping[str, Any],
143
+ customized_response_dict: Dict[str, Any],
144
+ **kwargs: Any,
145
+ ) -> None: ...
146
+ def document_expires_shape(section: DocumentStructure, event_name: str, **kwargs: Any) -> None: ...
147
+ def add_query_compatibility_header(
148
+ model: OperationModel, params: Dict[str, Any], **kwargs: Any
149
+ ) -> None: ...
139
150
 
140
- BUILTIN_HANDLERS: Any
151
+ BUILTIN_HANDLERS: List[Tuple[Any, ...]] = ...
@@ -116,6 +116,8 @@ class ServiceModel:
116
116
  def signature_version(self) -> str: ...
117
117
  @signature_version.setter
118
118
  def signature_version(self, value: str) -> None: ...
119
+ @CachedProperty
120
+ def is_query_compatible(self) -> bool: ...
119
121
 
120
122
  class OperationModel:
121
123
  def __init__(
@@ -61,6 +61,8 @@ class EndpointResolverBuiltins(Enum):
61
61
  AWS_S3CONTROL_USE_ARN_REGION: str
62
62
  AWS_S3_DISABLE_MRAP: str
63
63
  SDK_ENDPOINT: str
64
+ ACCOUNT_ID: str
65
+ ACCOUNT_ID_ENDPOINT_MODE: str
64
66
 
65
67
  class EndpointRulesetResolver:
66
68
  def __init__(
@@ -107,7 +107,7 @@ class IMDSFetcher:
107
107
  num_attempts: int = ...,
108
108
  base_url: str = ...,
109
109
  env: Optional[Any] = ...,
110
- user_agent: Optional[Any] = ...,
110
+ user_agent: Optional[str] = ...,
111
111
  config: Optional[Any] = ...,
112
112
  ) -> None: ...
113
113
  def get_base_url(self) -> str: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: botocore-stubs
3
- Version: 1.35.54
3
+ Version: 1.35.57
4
4
  Summary: Type annotations and code completion for botocore
5
5
  Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
6
  License: MIT License
@@ -43,6 +43,7 @@ Classifier: Programming Language :: Python :: 3.10
43
43
  Classifier: Programming Language :: Python :: 3.11
44
44
  Classifier: Programming Language :: Python :: 3.12
45
45
  Classifier: Programming Language :: Python :: 3.13
46
+ Classifier: Programming Language :: Python :: 3.14
46
47
  Classifier: Programming Language :: Python :: 3 :: Only
47
48
  Classifier: Programming Language :: Python :: Implementation :: CPython
48
49
  Classifier: Typing :: Stubs Only
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "botocore-stubs"
3
- version = "1.35.54"
3
+ version = "1.35.57"
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" }]
@@ -20,6 +20,7 @@ classifiers = [
20
20
  "Programming Language :: Python :: 3.11",
21
21
  "Programming Language :: Python :: 3.12",
22
22
  "Programming Language :: Python :: 3.13",
23
+ "Programming Language :: Python :: 3.14",
23
24
  "Programming Language :: Python :: 3 :: Only",
24
25
  "Programming Language :: Python :: Implementation :: CPython",
25
26
  "Typing :: Stubs Only",
@@ -62,9 +63,7 @@ requires = ['setuptools']
62
63
  build-backend = 'setuptools.build_meta'
63
64
 
64
65
  [tool.setuptools]
65
- packages = [
66
- "botocore-stubs",
67
- ]
66
+ packages = ["botocore-stubs"]
68
67
 
69
68
  [tool.pyright]
70
69
  include = ["botocore-stubs"]
@@ -105,19 +104,7 @@ indent-width = 4
105
104
  target-version = "py38"
106
105
 
107
106
  [tool.ruff.lint]
108
- select = ["E4", "E7", "E9", "F", "B", "I", "N", "D", "C4", "C90", "RUF", "PYI"]
109
- ignore = [
110
- "E203",
111
- "D107",
112
- "D200",
113
- "D203",
114
- "D212",
115
- "D401",
116
- "D406",
117
- "D407",
118
- "D413",
119
- "D417",
120
- ]
107
+ select = ["E4", "E7", "E9", "F", "B", "I", "N", "C4", "C90", "RUF", "PYI", "UP"]
121
108
  fixable = ["ALL"]
122
109
  unfixable = ["B"]
123
110
  dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"