Slice.items_and_annotation_generator() -> List[ Dict[str, Union[ DatasetItem, Dict[str, List[Annotation]]] ] ]
This endpoint exports all DatasetItems and associated Annotations of a Slice for use with model training page-by-page.
In order to speed up the export, the following Annotation attributes are not included in the payload:
- Annotation IDs
- Annotation-level metadata
- Reference IDs for annotations (since they are pulled down for the DatasetItem already)