harp_apps.janitor.settings

Inheritance diagram of harp_apps.janitor.settings

class JanitorSettings[source]

Bases: ApplicationSettingsMixin

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.

model_config: ClassVar[ConfigDict] = {'hide_input_in_errors': True}

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

old_after: int

Number of days after we consider something as “old”.

property old_after_delta: timedelta
period: int

How many seconds to wait between loop executions.