roboto.domain.datasets.record
Module Contents
DatasetRecord
Bases: pydantic.BaseModel
Wire-transmissible representation of a dataset in the Roboto platform.
DatasetRecord contains all the metadata and properties associated with a dataset, including its identification, timestamps, metadata, tags, and organizational information. This is the data structure used for API communication and persistence.
DatasetRecord instances are typically created by the platform during dataset creation operations and are updated as datasets are modified. The Dataset domain class wraps DatasetRecord to provide a more convenient interface for dataset operations.
The record includes audit information (created/modified timestamps and users), organizational context, and user-defined metadata and tags for discovery and organization purposes.
Parameters
data AnyAttributes
DatasetRecord.administrator
Deprecated field maintained for backwards compatibility. Always defaults to ‘Roboto’.
DatasetRecord.created
Timestamp when this dataset was created in the Roboto platform.
DatasetRecord.custom_fields
Values for the custom fields defined on Datasets in this org.
Every Ready custom field defined for (org_id, Dataset) appears as a key — values that have not been set surface as None rather than being absent. Empty when no custom fields are defined for the org.
DatasetRecord.dataset_id
Unique identifier for this dataset within the Roboto platform.
DatasetRecord.description
Human-readable description of the dataset’s contents and purpose.
DatasetRecord.device_id
Optional identifier of the device that generated this dataset’s data.
DatasetRecord.metadata
User-defined key-value pairs for storing additional dataset information.
DatasetRecord.modified_by
User ID or service account that last modified this dataset.
DatasetRecord.name
A short name for this dataset. This may be an org-specific unique ID that’s more meaningful than the dataset_id, or a short summary of the dataset’s contents. If provided, must be 120 characters or less.
DatasetRecord.roboto_record_version
Internal version number for this record, automatically incremented on updates.
DatasetRecord.storage_ctx
Deprecated storage context field maintained for backwards compatibility with SDK versions prior to 0.10.0.
DatasetRecord.storage_location
Deprecated storage location field maintained for backwards compatibility. Always defaults to ‘S3’.
DatasetRecord.tags
List of tags for categorizing and discovering this dataset.
make_backwards_compatible_placeholder_storage_ctx()
Because of some overly aggressive pydantic model validation, we need to return a storage_context with our original S3 description in order to stop SDK clients prior to 0.10.0 from throwing errors.
Return type