Skip to content

trimble.fileservice.core package

Module contents

class trimble.fileservice.core.SyncPagedItem(*args: Any, **kwargs: Any)

Bases: Iterator[ReturnType]

by_page(continuation_token: str | None = None) → Iterator[Iterator[ReturnType]]

Get an iterator of pages of objects, instead of an iterator of objects.

  • Parameters: continuation_token (str) – An opaque continuation token. This value can be retrieved from the continuation_token field of a previous generator object. If specified, this generator will begin returning results from this point.
  • Returns: An iterator of pages (themselves iterator of objects)
  • Return type: iterator[iterator[ReturnType]]