Buckets:

download
raw
692 Bytes
from sqlalchemy import String, Text
from sqlalchemy.orm import Mapped, mapped_column
from fief.models.base import Base
from fief.models.generics import CreatedUpdatedAt, UUIDModel
from fief.services.email_template.types import EmailTemplateType
class EmailTemplate(UUIDModel, CreatedUpdatedAt, Base):
__tablename__ = "email_templates"
type: Mapped[EmailTemplateType] = mapped_column(
String(length=255), nullable=False, unique=True
)
subject: Mapped[str] = mapped_column(Text, nullable=False)
content: Mapped[str] = mapped_column(Text, nullable=False)
def get_type_display_name(self) -> str:
return EmailTemplateType[self.type].get_display_name()

Xet Storage Details

Size:
692 Bytes
·
Xet hash:
7bd113cdfe1101c1ea7700009ba1ed735e7e148e41ba303c5dfc342bfd29b709

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.