NotebookQuota#

class gafaelfawr.models.quota.NotebookQuota(*, cpu, memory, spawn=True)#

Bases: BaseModel

Notebook Aspect quota information for a user.

Parameters:

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

add(other)

Add an additional notebook quota to this one.

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

add(other)#

Add an additional notebook quota to this one.

Parameters:

other (Self | None)

Return type:

Self