UserQuota¶
- pydantic model controller.models.domain.gafaelfawr.UserQuota¶
Quota information for a user.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "UserQuota", "description": "Quota information for a user.", "type": "object", "properties": { "api": { "additionalProperties": { "type": "integer" }, "default": {}, "description": "Mapping of service names to allowed requests per 15 minutes.", "examples": [ { "datalinker": 500, "hips": 2000, "tap": 500, "vo-cutouts": 100 } ], "title": "API quotas", "type": "object" }, "notebook": { "anyOf": [ { "$ref": "#/$defs/NotebookQuota" }, { "type": "null" } ], "default": null, "title": "Notebook Aspect quotas" } }, "$defs": { "NotebookQuota": { "description": "Notebook Aspect quota information for a user.", "properties": { "cpu": { "examples": [ 4.0 ], "title": "CPU equivalents", "type": "number" }, "memory": { "examples": [ 16.0 ], "title": "Maximum memory use (GiB)", "type": "number" } }, "required": [ "cpu", "memory" ], "title": "NotebookQuota", "type": "object" } } }
- field api: Annotated[dict[str, int], Field(title='API quotas', description='Mapping of service names to allowed requests per 15 minutes.', examples=[{'datalinker': 500, 'hips': 2000, 'tap': 500, 'vo-cutouts': 100}])] = {}¶
Mapping of service names to allowed requests per 15 minutes.
- field notebook: Annotated[NotebookQuota | None, Field(title='Notebook Aspect quotas')] = None¶