NotebookQuotaSettings#

pydantic model gafaelfawr.config.NotebookQuotaSettings#

Quota settings for the Notebook Aspect.

Parameters:

data (Any) –

Show JSON schema
{
   "title": "NotebookQuotaSettings",
   "description": "Quota settings for the Notebook Aspect.",
   "type": "object",
   "properties": {
      "cpu": {
         "title": "Cpu",
         "type": "number"
      },
      "memory": {
         "title": "Memory",
         "type": "number"
      }
   },
   "required": [
      "cpu",
      "memory"
   ]
}

Fields:
field cpu: float [Required]#

Maximum number of CPU equivalents.

field memory: float [Required]#

Maximum memory usage in GiB.

model_dump(**kwargs)#

Export the model as a dictionary.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

dict[str, Any]

model_dump_json(**kwargs)#

Export the model as JSON.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

str