page.restore

Classes

PageRestore

Validate a snapshot before applying it to the selected tenant.

Module Contents

class page.restore.PageRestore[source]

Validate a snapshot before applying it to the selected tenant.

snapshots: list[dict[str, Any]][source]
missing_files: list[str][source]
classmethod prepare(session: sqlalchemy.orm.Session, snapshot: object, skip_missing_files: bool = False) PageRestore[source]
apply(session: sqlalchemy.orm.Session) onegov.page.Page[source]