from __future__ import annotations from enum import StrEnum from app.db.schemas import PLATFORM_SCHEMA, pg_enum class NotificationDelivery(StrEnum): PENDING = "pending" SENT = "sent" DELIVERED = "delivered" FAILED = "failed" BOUNCED = "bounced" NOTIFICATION_DELIVERY_ENUM = pg_enum( NotificationDelivery, "notification_delivery_enum", PLATFORM_SCHEMA, ) __all__ = ["NotificationDelivery", "NOTIFICATION_DELIVERY_ENUM"]