小编use*_*680的帖子

Python Azure SDK:使用list_blobs获得超过5.000个结果

我在使用Python Azure SDK时遇到问题,在Stack Overflow和Msdn论坛上都找不到任何东西。

我想使用Azure SDKs list_blobs()来获取blob列表-超过5.000(这是max_result)。

如果我看一下SDK本身中的代码,则会看到以下内容:

    def list_blobs(self, container_name, prefix=None, marker=None,
                   maxresults=None, include=None, delimiter=None):
Run Code Online (Sandbox Code Playgroud)

“标记”的说明为:

    marker:
        Optional. A string value that identifies the portion of the list
        to be returned with the next list operation. The operation returns
        a marker value within the response body if the list returned was
        not complete. The marker value may then be used in a subsequent
        call to request the next set of list items. The marker value is
        opaque to the …
Run Code Online (Sandbox Code Playgroud)

python azure azure-storage-blobs

5
推荐指数
1
解决办法
2587
查看次数

标签 统计

azure ×1

azure-storage-blobs ×1

python ×1