quartzbio.resource.datasetexport module¶
- class quartzbio.resource.datasetexport.DatasetExport(id=None, **params)¶
Bases:
CreateableAPIResource,ListableAPIResource,DownloadableAPIResource,DeletableAPIResourceDatasetExport represent an export task that takes a Dataset or filtered Dataset (Query) and exports the contents to a flat file (CSV, JSON, or XLSX).
For interactive use, DatasetExport can be “followed” to watch the progression of the task.
- LIST_FIELDS = (('id', 'ID'), ('documents_count', 'Records'), ('format', 'Format'), ('status', 'Status'), ('created_at', 'Created'))¶
- RESOURCE_VERSION = 2¶
- property dataset¶
- follow(loop=True, sleep_seconds=5.0)¶