Skip to main content
Version: latest

agrag.schema.errors.StaleSchemaError

StaleSchemaError(*, expected:str | None, current:str | None) -> None

Bases: StoredSchemaError

The stored schema changed after a writer started using an older one.

Attributes:

  • expected – The fingerprint the writer expected, or None for a first publication.
  • current – The fingerprint found at the write boundary, or None when there was no stored schema.

current​

current = current

expected​

expected = expected