"""Types.""" from enum import StrEnum from typing import Type from marshmallow import Schema from notifications.constants import tenant as tenant_constants class TenantType(StrEnum): """Tenant types.""" ACCOUNT = tenant_constants.ACCOUNT_TENANT_TYPE SUBACCOUNT = tenant_constants.SUBACCOUNT_TENANT_TYPE LABEL_PARTICIPANT = tenant_constants.LABEL_PARTICIPANT_TENANT_TYPE COLLABORATOR = tenant_constants.COLLABORATOR_TENANT_TYPE type FollowConfig[EID: (str, int, None)] = tuple[Type[Schema], EID] type FollowConfigs[EID: (str, int, None)] = list[FollowConfig[EID]]