QuotaGrant¶
- pydantic model gafaelfawr.config.QuotaGrant¶
One grant of quotas.
There may be one of these per group, as well as a default one, in the overall quota configuration.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "QuotaGrant", "description": "One grant of quotas.\n\nThere may be one of these per group, as well as a default one, in the\noverall quota configuration.", "type": "object", "properties": { "api": { "additionalProperties": { "type": "integer" }, "default": {}, "description": "Mapping of service names to quota of requests per 15 minutes", "title": "Service quotas", "type": "object" }, "notebook": { "anyOf": [ { "$ref": "#/$defs/NotebookQuota" }, { "type": "null" } ], "default": null, "description": "Quota settings for the Notebook Aspect", "title": "Notebook quota" } }, "$defs": { "NotebookQuota": { "additionalProperties": false, "description": "Quota settings for the Notebook Aspect.", "properties": { "cpu": { "description": "Maximum number of CPU equivalents", "title": "CPU limit", "type": "number" }, "memory": { "description": "Maximum memory usage in GiB", "title": "Memory limit (GiB)", "type": "number" } }, "required": [ "cpu", "memory" ], "title": "NotebookQuota", "type": "object" } }, "additionalProperties": false }
- field api: dict[str, int] = {}¶
Mapping of service names to quota of requests per 15 minutes
- field notebook: NotebookQuota | None = None¶
Quota settings for the Notebook Aspect