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(model)[source]¶ Bases:
objectBase quota agent, always returns no quota
-
default_quota¶
-
-
class
galaxy.quota.QuotaAgent(model)[source]¶ Bases:
galaxy.quota.NoQuotaAgentClass that handles galaxy quotas
-
get_quota(user, nice_size=False)[source]¶ Calculated like so:
- Anonymous users get the default quota.
- Logged in users start with the highest of their associated ‘=’ quotas or the default quota, if there are no associated ‘=’ quotas. If an ‘=’ unlimited (-1 in the database) quota is found during this process, the user has no quota (aka unlimited).
- Quota is increased or decreased by any corresponding ‘+’ or ‘-‘ quotas.
-
default_unregistered_quota¶
-
default_registered_quota¶
-