QuotaSettings¶
- pydantic model gafaelfawr.config.QuotaSettings¶
Quota settings.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "QuotaSettings", "description": "Quota settings.", "type": "object", "properties": { "default": { "$ref": "#/$defs/QuotaGrantSettings" }, "groups": { "additionalProperties": { "$ref": "#/$defs/QuotaGrantSettings" }, "default": {}, "description": "Additional quota grants by group name", "title": "Quota grants by group", "type": "object" } }, "$defs": { "NotebookQuotaSettings": { "description": "Quota settings for the Notebook Aspect.", "properties": { "cpu": { "title": "Cpu", "type": "number" }, "memory": { "title": "Memory", "type": "number" } }, "required": [ "cpu", "memory" ], "title": "NotebookQuotaSettings", "type": "object" }, "QuotaGrantSettings": { "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.", "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/NotebookQuotaSettings" }, { "type": "null" } ], "default": null } }, "title": "QuotaGrantSettings", "type": "object" } }, "required": [ "default" ] }
- Fields:
- field default: QuotaGrantSettings [Required]¶
Default quotas for all users.
- field groups: dict[str, QuotaGrantSettings] = {}¶
Additional quota grants by group name