cata_log_hub.constants module

class cata_log_hub.constants.StatusEnum[source]

Bases: StrEnum

Enum of states for providers.

MISCONFIGURED = 'misconfigured'
BROKEN = 'broken'
MISCONFIGURED_OR_BROKEN = 'misconfigured-or-broken'
UNAVAILABLE = 'unavailable'
HEALTHY = 'healthy'
static _generate_next_value_(name, start, count, last_values)

Return the lower-cased version of the member name.

__new__(value)
__str__()

Return str(self).

class cata_log_hub.constants.CatalogSchedules[source]

Bases: Enum

Enum of all catalog schedule types.

DAILY = 'daily'
WEEKLY = 'weekly'
MONTHLY = 'monthly'
YEARLY = 'yearly'
class cata_log_hub.constants.WeekCountingStartpoints[source]

Bases: Enum

Enum of all common startpoints for counting a week from.

SUNDAY = calendar.SUNDAY
MONDAY = calendar.MONDAY
property week_number_format: str

The datetime formatter for the enum value.

Returns:

The datetime formatter string.