Skip to main content

model

Pydantic record for the configured_datasources cache table (v1).

Classes​

ConfiguredDatasourceRecord​

class ConfiguredDatasourceRecord(**data: Any):

One datasource the pod has configured, or used to.

Attributes

  • task_hash: The datasource leaf hash, as file_metadata and runs carry it.
  • pod_name: Pod the datasource belongs to.
  • datasource_name: Name of the datasource within that pod.
  • deconfigured_at: When the datasource stopped being in the pod config. None while it still is.
  • last_seen_at: When the pod last took a snapshot covering this row.
  • tags: Arbitrary flat metadata.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Variables​

  • static datasource_name : str
  • static model_config
  • static pod_name : str
  • static task_hash : str