harp_apps.dashboard.settings

Inheritance diagram of harp_apps.dashboard.settings

class DashboardSettings[source]

Bases: ApplicationSettingsMixin, Configurable

Root settings for the dashboard application.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

classmethod reject_deprecated_enable_ui(data)[source]
Parameters:

data (Any)

Return type:

Any

auth: BasicAuthSettings | None
devserver: DevserverSettings | None
model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}

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

port: int
public_url: str | None

Submodules