quartzbio.resource.datasetimport module

class quartzbio.resource.datasetimport.DatasetImport(id=None, **params)

Bases: CreateableAPIResource, ListableAPIResource, UpdateableAPIResource, DeletableAPIResource

DatasetImports represent an import task that takes either an object_id or a file manifest (list of file URLs) and converts them to a QuartzBio-compatible format which can then be indexed by a dataset.

For interactive use, DatasetImport can be “followed” to watch the progression of an import job.

LIST_FIELDS = (('id', 'ID'), ('title', 'Title'), ('description', 'Description'), ('status', 'Status'), ('created_at', 'Created'))
RESOURCE_VERSION = 2
property dataset
follow(loop=True, sleep_seconds=5.0)