Immutable annotation

coaster.sqlalchemy.immutable_annotation.immutable(attr)

Marks a column as immutable once set. Only blocks direct changes; columns may still be updated via relationships or SQL

coaster.sqlalchemy.immutable_annotation.cached(attr)

Marks the column’s contents as a cached value from another source

exception coaster.sqlalchemy.immutable_annotation.ImmutableColumnError(class_name, column_name, old_value, new_value, message=None)[source]

Exception raised when an immutable column is set.