turbaszek commented on a change in pull request #9950:
URL: https://github.com/apache/airflow/pull/9950#discussion_r459975966
##########
File path: airflow/providers/microsoft/azure/hooks/wasb.py
##########
@@ -88,6 +88,23 @@ def check_for_prefix(self, container_name, prefix, **kwargs):
num_results=1, **kwargs)
return len(list(matches)) > 0
+ def get_blobs_list(self, container_name: str, prefix: str, **kwargs):
+ """
+ Return a list of blobs from path defined in prefix param
+
+ :param container_name: Name of the container.
+ :type container_name: str
+ :param prefix: Prefix of the blob.
+ :type prefix: str
+ :param kwargs: Optional keyword arguments that
+ `BlockBlobService.list_blobs()` takes (num_results, include,
+ delimiter, marker, timeout)
+ :type kwargs: object
+ :return: List of blobs.
+ :rtype: list(azure.storage.common.models.ListGenerator)
+ """
+ return self.connection.list_blobs(container_name, prefix, **kwargs)
+
Review comment:
```suggestion
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]