Datasets and files#

Upload files, monitor ingestion, and work with dataset channels and exports.

API Reference#

Import from nominal.core.

Classes

Dataset

A collection of channels populated by uploaded files and streamed data.

DatasetFile

An uploaded dataset file and its ingestion status and time bounds.

FileType

Default upload extension and MIME type.

FileTypes

Named file-type presets for SDK uploads.

IngestionJob

A trackable record of one ingestion request moving through the async pipeline.

VideoDatasetFile

A video file stored as a dataset channel.

Enumerations

IngestionJobStatus

Lifecycle status of an ingest job.

IngestType

The kind of data an ingest job ingests.

IngestWaitType

The completion condition for wait_for_files_to_ingest.

Functions

as_files_ingested

Iterates over DatasetFiles as they complete their ingestion in a similar fashion to concurrent.futures.as_completed.

wait_for_files_to_ingest

Blocks until all of the dataset files have completed their ingestion (or other specified conditions) in a similar fashion to concurrent.futures.wait.