boto3-stubs-lite 1.38.41__py3-none-any.whl → 1.42.30__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.
Potentially problematic release.
This version of boto3-stubs-lite might be problematic. Click here for more details.
- 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/utils.pyi +8 -10
- {boto3_stubs_lite-1.38.41.dist-info → boto3_stubs_lite-1.42.30.dist-info}/METADATA +924 -890
- {boto3_stubs_lite-1.38.41.dist-info → boto3_stubs_lite-1.42.30.dist-info}/RECORD +11 -11
- {boto3_stubs_lite-1.38.41.dist-info → boto3_stubs_lite-1.42.30.dist-info}/licenses/LICENSE +1 -1
- {boto3_stubs_lite-1.38.41.dist-info → boto3_stubs_lite-1.42.30.dist-info}/top_level.txt +1 -0
- {boto3_stubs_lite-1.38.41.dist-info → boto3_stubs_lite-1.42.30.dist-info}/WHEEL +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 = ...,
|
boto3-stubs/utils.pyi
CHANGED
|
@@ -4,22 +4,20 @@ Type annotations for boto3.utils module.
|
|
|
4
4
|
Copyright 2024 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from typing import Any
|
|
7
|
+
from typing import Any, NamedTuple
|
|
8
8
|
|
|
9
9
|
from botocore.model import ServiceModel
|
|
10
10
|
from botocore.session import Session
|
|
11
11
|
from botocore.waiter import Waiter, WaiterModel
|
|
12
12
|
|
|
13
|
-
class
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
) -> None: ...
|
|
13
|
+
class _ServiceContext(NamedTuple):
|
|
14
|
+
service_name: str
|
|
15
|
+
service_model: ServiceModel
|
|
16
|
+
service_waiter_model: WaiterModel | None
|
|
17
|
+
resource_json_definitions: dict[str, Any]
|
|
18
|
+
|
|
19
|
+
class ServiceContext(_ServiceContext): ...
|
|
21
20
|
|
|
22
|
-
def import_module(name: str) -> Any: ...
|
|
23
21
|
def lazy_call(full_name: str, **kwargs: Any) -> Any: ...
|
|
24
22
|
def inject_attribute(class_attributes: dict[str, Any], name: str, value: Any) -> None: ...
|
|
25
23
|
|