anvil_consortium_manager.auditor.audit.accounts module

class anvil_consortium_manager.auditor.audit.accounts.AccountAudit

Bases: AnVILAudit

Class that runs an audit for Account instances.

ERROR_NOT_IN_ANVIL = 'Not in AnVIL'

Error when the Account does not exist in AnVIL.

audit(cache=False)

Run the audit.

This method should not handle caching the results. It may need to know whether caching was requested if it is running sub-audits (e.g., workspace sharing for workspaces).

cache_key = 'account_audit_results'