datarobot_genai.drmcputils.panels.models
models
Panel data models.
Panels are typed, persisted analytical artifacts with lineage. Metadata is a
small Pydantic record; bulky payloads (a Dataset's Parquet, a Chart's spec) are
stored separately via a :class:~datarobot_genai.drmcputils.files.store.BlobStore
and referenced here by payload_files_id (the Files container id), keeping
the manifest cheap to list and serialize.
PanelType
BasePanel
Bases: BaseModel
Common metadata shared by every panel type.
id is assigned by the store on create (it is the manifest's Files
container id) and is None until then. Inline-content types (Text, Json)
carry their payload on the model; bulky types (Dataset, Chart) reference an
external blob via payload_files_id.
Source code in datarobot_genai/drmcputils/panels/models.py
panel_from_manifest
Reconstruct the concrete panel type from a stored manifest dict.