QuotaGrantSettings

pydantic model gafaelfawr.config.QuotaGrantSettings

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": "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.",
   "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/NotebookQuotaSettings"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "NotebookQuotaSettings": {
         "additionalProperties": false,
         "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"
      }
   },
   "additionalProperties": false
}

Fields:
field api: dict[str, int] = {}

Mapping of service names to quota of requests per 15 minutes

field notebook: NotebookQuotaSettings | None = None

Quota settings for the Notebook Aspect.