mirror of
https://github.com/langgenius/dify.git
synced 2026-09-06 01:04:49 +08:00
13 lines
298 B
Python
13 lines
298 B
Python
"""Framework-neutral data contracts for internal mail delivery."""
|
|
|
|
from dataclasses import dataclass
|
|
from typing import Any
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class InnerMailMessage:
|
|
recipients: tuple[str, ...]
|
|
subject: str
|
|
body: str
|
|
substitutions: dict[str, Any] | None = None
|