Bruno Murino
05/26/2021, 11:59 AMKevin Kho
@task
def get_images() -> List[str]:
s3 = boto3.resource('s3', region_name='us-east-2')
bucket = s3.Bucket('label-studio-raw-images')
images = []
for bucket_object in bucket.objects.all():
images.append(bucket_object.key)
return images
Bruno Murino
05/26/2021, 1:39 PMKevin Kho
Bruno Murino
05/26/2021, 1:44 PM