DataReadResponse

class tracdap.api.DataReadResponse

Response to a request to read a dataset stored in the TRAC platform.

See also

readDataset

content: bytes

Content of the dataset, encoded in the requested format.

The first message in the response stream will always contain an empty content buffer. Subsequent messages will provided the content of the dataset as a series of chunks.

schema: tracdap.metadata.SchemaDefinition | None

Schema of the dataset being returned.

The schema is provided in the first message of the response stream. TRAC will always provide a full schema, regardless of whether the dataset is using am external schema or an embedded one.