boto3-stubs 1.37.36__py3-none-any.whl → 1.37.37__py3-none-any.whl

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.
boto3-stubs/compat.pyi CHANGED
@@ -5,9 +5,11 @@ Copyright 2024 Vlad Emelianov
5
5
  """
6
6
 
7
7
  import os
8
+ from typing import Any
8
9
 
9
10
  SOCKET_ERROR: type[ConnectionError]
10
11
 
11
- def filter_python_deprecation_warnings() -> None: ...
12
-
13
12
  rename_file = os.rename
13
+
14
+ def filter_python_deprecation_warnings() -> None: ...
15
+ def is_append_mode(fileobj: Any) -> bool: ...
boto3-stubs/s3/inject.pyi CHANGED
@@ -4,6 +4,7 @@ Type annotations for boto3.s3.inject module.
4
4
  Copyright 2024 Vlad Emelianov
5
5
  """
6
6
 
7
+ import logging
7
8
  from typing import IO, Any, Callable
8
9
 
9
10
  from boto3 import utils as utils
@@ -14,6 +15,8 @@ from boto3.s3.transfer import create_transfer_manager as create_transfer_manager
14
15
  from botocore.client import BaseClient
15
16
  from botocore.exceptions import ClientError as ClientError
16
17
 
18
+ logger: logging.Logger = ...
19
+
17
20
  def inject_s3_transfer_methods(class_attributes: dict[str, Any], **kwargs: Any) -> None: ...
18
21
  def inject_bucket_methods(class_attributes: dict[str, Any], **kwargs: Any) -> None: ...
19
22
  def inject_object_methods(class_attributes: dict[str, Any], **kwargs: Any) -> None: ...
@@ -119,6 +122,7 @@ def object_upload_fileobj(
119
122
  Callback: Callable[..., Any] | None = ...,
120
123
  Config: TransferConfig | None = ...,
121
124
  ) -> None: ...
125
+ def disable_threading_if_append_mode(config: TransferConfig, fileobj: IO[Any]) -> None: ...
122
126
  def download_fileobj(
123
127
  self: Any,
124
128
  Bucket: str,
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boto3-stubs
3
- Version: 1.37.36
4
- Summary: Type annotations for boto3 1.37.36 generated with mypy-boto3-builder 8.10.1
3
+ Version: 1.37.37
4
+ Summary: Type annotations for boto3 1.37.37 generated with mypy-boto3-builder 8.10.1
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -36,7 +36,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
36
36
  Provides-Extra: full
37
37
  Requires-Dist: boto3-stubs-full<1.38.0,>=1.37.0; extra == "full"
38
38
  Provides-Extra: boto3
39
- Requires-Dist: boto3==1.37.36; extra == "boto3"
39
+ Requires-Dist: boto3==1.37.37; extra == "boto3"
40
40
  Provides-Extra: all
41
41
  Requires-Dist: mypy-boto3-accessanalyzer<1.38.0,>=1.37.0; extra == "all"
42
42
  Requires-Dist: mypy-boto3-account<1.38.0,>=1.37.0; extra == "all"
@@ -1284,7 +1284,7 @@ Dynamic: summary
1284
1284
 
1285
1285
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
1286
1286
 
1287
- Type annotations for [boto3 1.37.36](https://pypi.org/project/boto3/)
1287
+ Type annotations for [boto3 1.37.37](https://pypi.org/project/boto3/)
1288
1288
  compatible with [VSCode](https://code.visualstudio.com/),
1289
1289
  [PyCharm](https://www.jetbrains.com/pycharm/),
1290
1290
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -1343,7 +1343,7 @@ You can generate type annotations for `boto3` package locally with
1343
1343
  isolation.
1344
1344
 
1345
1345
  1. Run mypy-boto3-builder in your package root directory:
1346
- `uvx --with 'boto3==1.37.36' mypy-boto3-builder`
1346
+ `uvx --with 'boto3==1.37.37' mypy-boto3-builder`
1347
1347
  2. Select `boto3-stubs` AWS SDK.
1348
1348
  3. Select services you use in the current project.
1349
1349
  4. Use provided commands to install generated packages.
@@ -1,5 +1,5 @@
1
1
  boto3-stubs/__init__.pyi,sha256=3Hx9Hf2j7IYOA98CtCqM3BoPUveHSNYaBBY_cgmVSBw,245328
2
- boto3-stubs/compat.pyi,sha256=j3-SBZqCGaoZoXzN6e7fkEQQvUmQ-MpIpcF9FuuUHH0,209
2
+ boto3-stubs/compat.pyi,sha256=PWrZhB_PeAhGJaNV3a5OXYy1k5QRa-Jm2Qt3SsVutWY,278
3
3
  boto3-stubs/crt.pyi,sha256=OAjGbtBlQJIDRctWkMpr7UwRKxiH_lQt9OdSrHPL3QI,893
4
4
  boto3-stubs/exceptions.pyi,sha256=cjOrbR2BIOcaHRmIQvGL0y-XEJdicpzRl2dQNfx6GVk,1339
5
5
  boto3-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -36,10 +36,10 @@ boto3-stubs/resources/params.pyi,sha256=gmPIqfvLPlZB9lnwIL8ZJI8eEwCcpK0bqlt0mWvi
36
36
  boto3-stubs/resources/response.pyi,sha256=pXdB7YMWdZ7_ZLIAhb7iPhJkLsakC8xTObBC9l2smYA,1636
37
37
  boto3-stubs/s3/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  boto3-stubs/s3/constants.pyi,sha256=U9MRV6GXbxTyEfKLsp3fVKzLR85KSSSP5FbcIWVHX54,163
39
- boto3-stubs/s3/inject.pyi,sha256=z72QArriCVYH-O15Z5yDGnMX0zo7nCmYhSB2tiIRTeo,4502
39
+ boto3-stubs/s3/inject.pyi,sha256=iSD34EWV7eyBwCNgAyVC2BZ24i_DXmFF6XhlNbZ6boA,4639
40
40
  boto3-stubs/s3/transfer.pyi,sha256=7A4hY7nziEaFM6fFhhneQYgB8aPa_on4i3DhOxh1_7s,2536
41
- boto3_stubs-1.37.36.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
42
- boto3_stubs-1.37.36.dist-info/METADATA,sha256=uNYWXDFKRYZbFGseCT5s2x7W5jY8_kQRjyX1wVFhvIo,149314
43
- boto3_stubs-1.37.36.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
44
- boto3_stubs-1.37.36.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
- boto3_stubs-1.37.36.dist-info/RECORD,,
41
+ boto3_stubs-1.37.37.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
42
+ boto3_stubs-1.37.37.dist-info/METADATA,sha256=jKY_IM6sXoPIg95qgXcol02Z4G3ONgV2K63x0pK_6BY,149314
43
+ boto3_stubs-1.37.37.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
44
+ boto3_stubs-1.37.37.dist-info/top_level.txt,sha256=uB_lQ39lkJ_VYZ_88DxH_zFptJtIwQ_SzeMpW8tRmT4,12
45
+ boto3_stubs-1.37.37.dist-info/RECORD,,