Skip to main content

prefect.server.schemas.observed_states

Discovery of state types and exact names in retained run history.

Classes

ObservedStateSort

Supported ordering for observed state discovery. Methods:

auto

Exposes enum.auto() to avoid requiring a second import to use AutoEnum

ObservedState

An exact state type/name pair and the bounds of its retained transitions. Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.