quartzbio.annotate module¶
- class quartzbio.annotate.Annotator(fields, **kwargs)¶
Bases:
objectRuns the synchronous annotate endpoint against batches of results from a query.
- CHUNK_SIZE = 100¶
- annotate(records, **kwargs)¶
Annotate a set of records with stored fields.
- Parameters:
records – A list or iterator (can be a Query object)
chunk_size – The number of records to annotate at once (max 500).
- Returns:
A generator that yields one annotated record at a time.