Skip to main content

model

Pydantic record for the rerun_requests cache table (v1).

Classes​

RerunRequestRecord​

class RerunRequestRecord(**data: Any):

One request for lineages to be rerun when next appropriate.

Attributes

  • id: The request's own identifier, generated when it is recorded.
  • requested_at: When the request was made, timezone-aware UTC.
  • scope: The registered rerun scope naming which lineages it covers (see bitfount.flows.dag.rerun_requests).
  • lineage_key: The one lineage it covers, or None for every lineage in scope.
  • reason: Why it was made, for support; not read by the scheduler.
  • lineages_due: How many lineages it covered when it was made.
  • 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 id : str
  • static lineage_key : str | None
  • static lineages_due : int
  • static model_config
  • static reason : str
  • static scope : str