You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`file`: File content as bytes or a file-like object
339
357
340
358
**Returns:** StorageObject
341
359
342
360
##### `download(name: str) -> bytes`
361
+
343
362
Downloads a file from YepCode storage.
344
363
345
364
**Parameters:**
365
+
346
366
-`name`: Name of the file to download
347
367
348
368
**Returns:** File content as bytes
349
369
350
370
##### `delete(name: str) -> None`
371
+
351
372
Deletes a file from YepCode storage.
352
373
353
374
**Parameters:**
375
+
354
376
-`name`: Name of the file to delete
355
377
356
378
**Returns:** None
357
379
358
380
##### `list() -> List[StorageObject]`
381
+
359
382
Lists all files in YepCode storage.
360
383
361
384
**Returns:** List of StorageObject
@@ -379,4 +402,4 @@ class CreateStorageObjectInput:
379
402
380
403
## License
381
404
382
-
All rights reserved by YepCode. This package is part of the YepCode Platform and is subject to the [YepCode Terms of Service](https://yepcode.io/terms-of-use).
405
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments