Skip to content

Commit a90a822

Browse files
author
Andrei Neagu
committed
fixed imports
1 parent 966658b commit a90a822

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/aws-library/src/aws_library/s3/_client.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from types_aiobotocore_s3 import S3Client
3030
from types_aiobotocore_s3.literals import BucketLocationConstraintType
3131
from types_aiobotocore_s3.type_defs import (
32-
ListObjectsV2RequestRequestTypeDef,
32+
ListObjectsV2RequestTypeDef,
3333
ObjectIdentifierTypeDef,
3434
)
3535

@@ -64,13 +64,11 @@
6464

6565

6666
class UploadedBytesTransferredCallback(Protocol):
67-
def __call__(self, bytes_transferred: int, *, file_name: str) -> None:
68-
...
67+
def __call__(self, bytes_transferred: int, *, file_name: str) -> None: ...
6968

7069

7170
class CopiedBytesTransferredCallback(Protocol):
72-
def __call__(self, total_bytes_copied: int, *, file_name: str) -> None:
73-
...
71+
def __call__(self, total_bytes_copied: int, *, file_name: str) -> None: ...
7472

7573

7674
@dataclass(frozen=True)
@@ -238,7 +236,7 @@ async def list_objects(
238236
msg = f"num_objects must be <= {_AWS_MAX_ITEMS_PER_PAGE}"
239237
raise ValueError(msg)
240238

241-
list_config: ListObjectsV2RequestRequestTypeDef = {
239+
list_config: ListObjectsV2RequestTypeDef = {
242240
"Bucket": bucket,
243241
"Prefix": create_final_prefix(prefix, is_partial_prefix=is_partial_prefix),
244242
"MaxKeys": limit,

0 commit comments

Comments
 (0)