Service to list test objects from a managed bucket.
Service to remove test objects from a managed bucket.
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 #
Uploads a local file/folder to a managed bucket.
src_path – The path of the file/folder to upload.
s3 URL of uploaded object.
>>> upload("./foo.txt") # Puts the file `foo.txt` in a managed bucket and returns a publicly # accesible S3 URL.
- latch_cli.services.test_data.upload.upload_helper(src_path: Path, key: str, s3_resource, dont_confirm_overwrite: bool)#