aistore.sdk.obj.object_iterator

View as Markdown

Module Contents

Classes

NameDescription
ObjectIteratorRepresents an iterable that will fetch all objects from a bucket, querying as needed with the specified function

API

class aistore.sdk.obj.object_iterator.ObjectIterator(
list_objects: typing.Callable
)

Represents an iterable that will fetch all objects from a bucket, querying as needed with the specified function

Parameters:

list_objects
Callable

Function returning a BucketList from an AIS cluster

_fetched
Optional[List[BucketEntry]] = []
_token
str = ''
_uuid
str = ''
aistore.sdk.obj.object_iterator.ObjectIterator.__iter__()
aistore.sdk.obj.object_iterator.ObjectIterator.__next__() -> aistore.sdk.types.BucketEntry