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/compat.pyi CHANGED
@@ -9,6 +9,8 @@ from typing import Any
9
9
 
10
10
  SOCKET_ERROR: type[ConnectionError]
11
11
 
12
+ TRANSFER_CONFIG_SUPPORTS_CRT: bool = ...
13
+
12
14
  rename_file = os.rename
13
15
 
14
16
  def filter_python_deprecation_warnings() -> None: ...
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
 
@@ -44,3 +44,4 @@ class DynamoDBNeedsConditionError(Boto3Error):
44
44
 
45
45
  class DynamoDBNeedsKeyConditionError(Boto3Error): ...
46
46
  class PythonDeprecationWarning(Warning): ...
47
+ class InvalidCrtTransferConfigError(Boto3Error): ...
@@ -6,3 +6,4 @@ Copyright 2024 Vlad Emelianov
6
6
 
7
7
  CLASSIC_TRANSFER_CLIENT: str = ...
8
8
  AUTO_RESOLVE_TRANSFER_CLIENT: str = ...
9
+ CRT_TRANSFER_CLIENT: str = ...
@@ -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 = ...,