File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
packages/aws-library/src/aws_library/s3 Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 2929from types_aiobotocore_s3 import S3Client
3030from types_aiobotocore_s3 .literals import BucketLocationConstraintType
3131from types_aiobotocore_s3 .type_defs import (
32- ListObjectsV2RequestRequestTypeDef ,
32+ ListObjectsV2RequestTypeDef ,
3333 ObjectIdentifierTypeDef ,
3434)
3535
6464
6565
6666class 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
7170class 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 ,
You can’t perform that action at this time.
0 commit comments