Я хочу использовать Azure SDK list_blobs(), чтобы получить список больших двоичных объектов. Их более 5000 (это max_result).
Если я взгляну на код в самом SDK, то увижу следующее:
Код: Выделить всё
def list_blobs(self, container_name, prefix=None, marker=None,
maxresults=None, include=None, delimiter=None):
Код: Выделить всё
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 client.
Код: Выделить всё
blobs = blobservice.list_blobs(target_container, prefix= prefix)
print(blobs.marker)
Но если это так, то как мне на самом деле использовать маркер осмысленным образом?>
Подробнее здесь: https://stackoverflow.com/questions/243 ... 00-results
Мобильная версия