latch_cli.services.test_data package#
Submodules#
latch_cli.services.test_data.ls module#
Service to list test objects from a managed bucket.
latch_cli.services.test_data.remove module#
Service to remove test objects from a managed bucket.
latch_cli.services.test_data.upload module#
Service to upload test objects to a managed bucket.
- latch_cli.services.test_data.upload.upload(src_path: str, dont_confirm_overwrite: bool = True) str [source]#
Uploads a local file/folder to a managed bucket.
- Parameters:
src_path – The path of the file/folder to upload.
- Returns:
s3 URL of uploaded object.
Example
>>> upload("./foo.txt") # Puts the file `foo.txt` in a managed bucket and returns a publicly # accesible S3 URL.