Iterate over mappings
- async AsyncCogniteClient.hosted_extractors.mappings.__call__(
- chunk_size: int | None = None,
- limit: int | None = None,
Iterate over mappings
Fetches Mapping as they are iterated over, so you keep a limited number of mappings in memory.
- Parameters:
chunk_size (int | None) – Number of Mappings to return in each chunk. Defaults to yielding one mapping at a time.
limit (int | None) – Maximum number of mappings to return. Defaults to returning all items.
- Yields:
Mapping | MappingList – yields Mapping one by one if chunk_size is not specified, else MappingList objects.