flip_api.domain.schemas.actions
Classes
Enum where members are also (and must be) strings |
|
Enum where members are also (and must be) strings |
|
Lifecycle events for the trust registry. |
Module Contents
- class flip_api.domain.schemas.actions.ProjectAuditAction[source]
Bases:
enum.StrEnumEnum where members are also (and must be) strings
- DELETE = 'DELETE'
- EDIT = 'EDIT'
- APPROVE = 'APPROVE'
- STAGE = 'STAGE'
- UNSTAGE = 'UNSTAGE'
- class flip_api.domain.schemas.actions.ModelAuditAction[source]
Bases:
enum.StrEnumEnum where members are also (and must be) strings
- DELETE = 'DELETE'
- EDIT = 'EDIT'
- PREPARED = 'PREPARED'
- TRAINING_STARTED = 'TRAINING_STARTED'
- RESULTS_UPLOADED = 'RESULTS_UPLOADED'
- class flip_api.domain.schemas.actions.TrustAuditAction[source]
Bases:
enum.StrEnumLifecycle events for the trust registry.
Captured by trusts_services.utils.audit_helper.audit_trust_action: register_trust writes REGISTERED, delete_trust writes DELETED. The audit row is stored in trusts_audit with no FK to trust.id, so it persists past a hard delete.
- REGISTERED = 'REGISTERED'
- DELETED = 'DELETED'