- def list_blobs(self):
- print("\nList blobs in the container")
- self.container_client = self.blob_service_client.get_container_client(
- container=self.get_config('container_name'))
- blob_list = self.container_client.list_blobs()
- blobs = []
- for blob in blob_list:
- # print("\t Blob name: " + blob.name)
- blobs.append(blob.name)
- return blobs
|