CaptureSource

class tracdap.rt.metadata.CaptureSource

Capture a data file into TRAC as part of a job.

The runtime reads the file once. From those bytes it can keep a FILE object (the bytes unchanged) and a DATA object (decoded from the bytes).

dataAttrs: List[TagUpdate]

Attributes for the captured DATA object

fileAttrs: List[TagUpdate]

Attributes for the captured FILE object

location: ExternalLocation | None

location

schema: SchemaDefinition | None

schema

schemaId: TagSelector | None

schemaId

schemaSource: CaptureSchemaSource

Where the dataset’s schema comes from