types-boto3 1.39.5__py3-none-any.whl → 1.42.18__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/__init__.pyi +242 -183
- boto3-stubs/compat.pyi +2 -0
- boto3-stubs/crt.pyi +3 -0
- boto3-stubs/exceptions.pyi +1 -0
- boto3-stubs/s3/constants.pyi +1 -0
- boto3-stubs/s3/transfer.pyi +11 -9
- boto3-stubs/session.pyi +253 -191
- boto3-stubs/utils.pyi +8 -10
- {types_boto3-1.39.5.dist-info → types_boto3-1.42.18.dist-info}/METADATA +910 -899
- {types_boto3-1.39.5.dist-info → types_boto3-1.42.18.dist-info}/RECORD +13 -13
- {types_boto3-1.39.5.dist-info → types_boto3-1.42.18.dist-info}/top_level.txt +1 -0
- {types_boto3-1.39.5.dist-info → types_boto3-1.42.18.dist-info}/WHEEL +0 -0
- {types_boto3-1.39.5.dist-info → types_boto3-1.42.18.dist-info}/licenses/LICENSE +0 -0
boto3-stubs/compat.pyi
CHANGED
boto3-stubs/crt.pyi
CHANGED
|
@@ -4,12 +4,15 @@ Type annotations for boto3.crt module.
|
|
|
4
4
|
Copyright 2024 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
import logging
|
|
7
8
|
import threading
|
|
8
9
|
from typing import Any
|
|
9
10
|
|
|
10
11
|
from botocore.client import BaseClient
|
|
11
12
|
from s3transfer.crt import BotocoreCRTRequestSerializer, CRTTransferManager
|
|
12
13
|
|
|
14
|
+
logger: logging.Logger = ...
|
|
15
|
+
|
|
13
16
|
CRT_S3_CLIENT: CRTS3Client | None = ...
|
|
14
17
|
BOTOCORE_CRT_SERIALIZER: BotocoreCRTRequestSerializer | None = ...
|
|
15
18
|
|
boto3-stubs/exceptions.pyi
CHANGED
boto3-stubs/s3/constants.pyi
CHANGED
boto3-stubs/s3/transfer.pyi
CHANGED
|
@@ -30,19 +30,20 @@ def create_transfer_manager(
|
|
|
30
30
|
def has_minimum_crt_version(minimum_version: str) -> bool: ...
|
|
31
31
|
|
|
32
32
|
class TransferConfig(S3TransferConfig):
|
|
33
|
-
ALIAS: dict[str, str]
|
|
33
|
+
ALIAS: dict[str, str] = ...
|
|
34
|
+
DEFAULTS: dict[str, Any] = ...
|
|
34
35
|
|
|
35
36
|
def __init__(
|
|
36
37
|
self,
|
|
37
|
-
multipart_threshold: int = ...,
|
|
38
|
-
max_concurrency: int = ...,
|
|
39
|
-
multipart_chunksize: int = ...,
|
|
40
|
-
num_download_attempts: int = ...,
|
|
41
|
-
max_io_queue: int = ...,
|
|
42
|
-
io_chunksize: int = ...,
|
|
43
|
-
use_threads: bool = ...,
|
|
38
|
+
multipart_threshold: int | None = ...,
|
|
39
|
+
max_concurrency: int | None = ...,
|
|
40
|
+
multipart_chunksize: int | None = ...,
|
|
41
|
+
num_download_attempts: int | None = ...,
|
|
42
|
+
max_io_queue: int | None = ...,
|
|
43
|
+
io_chunksize: int | None = ...,
|
|
44
|
+
use_threads: bool | None = ...,
|
|
44
45
|
max_bandwidth: int | None = ...,
|
|
45
|
-
preferred_transfer_client: str = ...,
|
|
46
|
+
preferred_transfer_client: str | None = ...,
|
|
46
47
|
) -> None:
|
|
47
48
|
self.use_threads: bool
|
|
48
49
|
|
|
@@ -51,6 +52,7 @@ class TransferConfig(S3TransferConfig):
|
|
|
51
52
|
class S3Transfer:
|
|
52
53
|
ALLOWED_DOWNLOAD_ARGS: list[str]
|
|
53
54
|
ALLOWED_UPLOAD_ARGS: list[str]
|
|
55
|
+
ALLOWED_COPY_ARGS: list[str]
|
|
54
56
|
def __init__(
|
|
55
57
|
self,
|
|
56
58
|
client: BaseClient | None = ...,
|