anvil_consortium_manager.auditor.audit.billing_projects module

class anvil_consortium_manager.auditor.audit.billing_projects.BillingProjectAudit

Bases: AnVILAudit

Class that runs an audit for BillingProject instances.

ERROR_NOT_IN_ANVIL = 'Not in AnVIL'

Error when a BillingProject in the app 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 = 'billing_project_audit_results'