Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
galaxy.quota package¶
Galaxy Quotas
- class galaxy.quota.NoQuotaAgent[source]¶
Bases:
QuotaAgent
Base quota agent, always returns no quota
- get_quota(user, quota_source_label=None) Optional[int] [source]¶
Return quota in bytes or None if no quota is set.
- property default_quota¶
- get_percent(trans=None, user=False, history=False, usage=False, quota=False, quota_source_label=None) Optional[int] [source]¶
Return the percentage of any storage quota applicable to the user/transaction.
- is_over_quota(app, job, job_destination)[source]¶
Return True if the user or history is over quota for specified job.
job_destination unused currently but an important future application will be admins and/or users dynamically specifying which object stores to use and that will likely come in through the job destination.