This repository was archived by the owner on Sep 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55from httpx import HTTPError , Response
66
77from ..types import RequestMethod
8- from ..utils import SyncClient , StorageException
8+ from ..utils import StorageException , SyncClient
99from .file_api import SyncBucket
1010
1111__all__ = ["SyncStorageBucketAPI" ]
Original file line number Diff line number Diff line change 88
99from ..constants import DEFAULT_FILE_OPTIONS , DEFAULT_SEARCH_OPTIONS
1010from ..types import BaseBucket , ListBucketFilesOptions , RequestMethod
11- from ..utils import SyncClient , StorageException
11+ from ..utils import StorageException , SyncClient
1212
1313__all__ = ["SyncBucket" ]
1414
Original file line number Diff line number Diff line change 11from __future__ import annotations
2- from time import sleep
32
3+ from time import sleep
44from typing import TYPE_CHECKING
55from uuid import uuid4
66
@@ -127,9 +127,9 @@ async def test_client_upload_file(
127127 options = {"content-type" : mime_type }
128128
129129 await storage_file_client .upload (bucket_file_path , file_path , options )
130-
130+
131131 sleep (3 )
132-
132+
133133 image = await storage_file_client .download (bucket_file_path )
134134 files = await storage_file_client .list (bucket_folder )
135135 image_info = next ((f for f in files if f .get ("name" ) == file_name ), None )
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def test_client_upload_file(
126126 options = {"content-type" : mime_type }
127127
128128 storage_file_client .upload (bucket_file_path , file_path , options )
129-
129+
130130 image = storage_file_client .download (bucket_file_path )
131131 files = storage_file_client .list (bucket_folder )
132132 image_info = next ((f for f in files if f .get ("name" ) == file_name ), None )
You can’t perform that action at this time.
0 commit comments