@@ -98,7 +98,7 @@ async def test_upload_from_text(self, async_sdk_client: AsyncRunloopSDK) -> None
9898 text_content = "Hello from async upload_from_text!"
9999 obj = await async_sdk_client .storage_object .upload_from_text (
100100 text_content ,
101- unique_name ("sdk-async-text-upload" ),
101+ name = unique_name ("sdk-async-text-upload" ),
102102 metadata = {"source" : "upload_from_text" },
103103 )
104104
@@ -117,7 +117,7 @@ async def test_upload_from_bytes(self, async_sdk_client: AsyncRunloopSDK) -> Non
117117 bytes_content = b"Binary content from async SDK"
118118 obj = await async_sdk_client .storage_object .upload_from_bytes (
119119 bytes_content ,
120- unique_name ("sdk-async-bytes-upload" ),
120+ name = unique_name ("sdk-async-bytes-upload" ),
121121 content_type = "text" ,
122122 metadata = {"source" : "upload_from_bytes" },
123123 )
@@ -142,7 +142,7 @@ async def test_upload_from_file(self, async_sdk_client: AsyncRunloopSDK) -> None
142142 try :
143143 obj = await async_sdk_client .storage_object .upload_from_file (
144144 tmp_path ,
145- unique_name ("sdk-async-file-upload" ),
145+ name = unique_name ("sdk-async-file-upload" ),
146146 metadata = {"source" : "upload_from_file" },
147147 )
148148
@@ -171,7 +171,7 @@ async def test_upload_from_dir(self, async_sdk_client: AsyncRunloopSDK) -> None:
171171
172172 obj = await async_sdk_client .storage_object .upload_from_dir (
173173 tmp_path ,
174- unique_name ("sdk-async-dir-upload" ),
174+ name = unique_name ("sdk-async-dir-upload" ),
175175 metadata = {"source" : "upload_from_dir" },
176176 )
177177
@@ -206,7 +206,7 @@ async def test_download_as_text(self, async_sdk_client: AsyncRunloopSDK) -> None
206206 content = "Async text content to download"
207207 obj = await async_sdk_client .storage_object .upload_from_text (
208208 content ,
209- unique_name ("sdk-async-download-text" ),
209+ name = unique_name ("sdk-async-download-text" ),
210210 )
211211
212212 try :
@@ -221,7 +221,7 @@ async def test_download_as_bytes(self, async_sdk_client: AsyncRunloopSDK) -> Non
221221 content = b"Async bytes content to download"
222222 obj = await async_sdk_client .storage_object .upload_from_bytes (
223223 content ,
224- unique_name ("sdk-async-download-bytes" ),
224+ name = unique_name ("sdk-async-download-bytes" ),
225225 content_type = "text" ,
226226 )
227227
@@ -237,7 +237,7 @@ async def test_get_download_url(self, async_sdk_client: AsyncRunloopSDK) -> None
237237 """Test getting download URL."""
238238 obj = await async_sdk_client .storage_object .upload_from_text (
239239 "Content for async URL" ,
240- unique_name ("sdk-async-download-url" ),
240+ name = unique_name ("sdk-async-download-url" ),
241241 )
242242
243243 try :
@@ -266,7 +266,7 @@ async def test_get_storage_object_by_id(self, async_sdk_client: AsyncRunloopSDK)
266266 # Create an object
267267 created = await async_sdk_client .storage_object .upload_from_text (
268268 "Content for async retrieval" ,
269- unique_name ("sdk-async-storage-retrieve" ),
269+ name = unique_name ("sdk-async-storage-retrieve" ),
270270 )
271271
272272 try :
@@ -286,7 +286,7 @@ async def test_list_storage_objects_by_content_type(self, async_sdk_client: Asyn
286286 # Create object with specific content type
287287 obj = await async_sdk_client .storage_object .upload_from_text (
288288 "Text content" ,
289- unique_name ("sdk-async-storage-list-type" ),
289+ name = unique_name ("sdk-async-storage-list-type" ),
290290 )
291291
292292 try :
@@ -310,7 +310,7 @@ async def test_mount_storage_object_to_devbox(self, async_sdk_client: AsyncRunlo
310310 # Create storage object with content
311311 obj = await async_sdk_client .storage_object .upload_from_text (
312312 "Async mounted content from SDK" ,
313- unique_name ("sdk-async-mount-object" ),
313+ name = unique_name ("sdk-async-mount-object" ),
314314 )
315315
316316 try :
@@ -342,7 +342,7 @@ async def test_access_mounted_storage_object(self, async_sdk_client: AsyncRunloo
342342 # Create storage object
343343 obj = await async_sdk_client .storage_object .upload_from_text (
344344 "Async content to mount and access" ,
345- unique_name ("sdk-async-mount-access" ),
345+ name = unique_name ("sdk-async-mount-access" ),
346346 )
347347
348348 try :
@@ -385,7 +385,7 @@ async def test_storage_object_large_content(self, async_sdk_client: AsyncRunloop
385385
386386 obj = await async_sdk_client .storage_object .upload_from_text (
387387 large_content ,
388- unique_name ("sdk-async-storage-large" ),
388+ name = unique_name ("sdk-async-storage-large" ),
389389 )
390390
391391 try :
@@ -404,7 +404,7 @@ async def test_storage_object_binary_content(self, async_sdk_client: AsyncRunloo
404404
405405 obj = await async_sdk_client .storage_object .upload_from_bytes (
406406 binary_content ,
407- unique_name ("sdk-async-storage-binary" ),
407+ name = unique_name ("sdk-async-storage-binary" ),
408408 content_type = "binary" ,
409409 )
410410
@@ -420,7 +420,7 @@ async def test_storage_object_empty_content(self, async_sdk_client: AsyncRunloop
420420 """Test uploading empty content."""
421421 obj = await async_sdk_client .storage_object .upload_from_text (
422422 "" ,
423- unique_name ("sdk-async-storage-empty" ),
423+ name = unique_name ("sdk-async-storage-empty" ),
424424 )
425425
426426 try :
0 commit comments