using doc forge

This commit is contained in:
2026-01-22 16:49:05 +05:30
parent 9d1635c043
commit 53868e7fc7
55 changed files with 5759 additions and 474 deletions

View File

@@ -0,0 +1,5 @@
from .body import extract_body
from .headers import parse_headers, extract_sender
from .subject import normalize_subject
__all__ = ["extract_body", "parse_headers", "extract_sender", "normalize_subject"]

View File

@@ -0,0 +1,3 @@
from typing import Dict, Any
def extract_body(payload: Dict[str, Any]) -> str: ...

View File

@@ -0,0 +1,4 @@
from typing import Dict, List, Tuple, Optional
def parse_headers(raw_headers: List[Dict[str, str]]) -> Dict[str, str]: ...
def extract_sender(headers: Dict[str, str]) -> Tuple[str, Optional[str]]: ...

View File

@@ -0,0 +1 @@
def normalize_subject(subject: str) -> str: ...