fix type hints

This commit is contained in:
Taylor Wilsdon
2025-10-23 14:49:47 -04:00
parent a14ee47ee8
commit ec41ba18c9
2 changed files with 3 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ import logging
import asyncio
import base64
import ssl
from typing import Optional, List, Dict, Literal
from typing import Optional, List, Dict, Literal, Any
from email.mime.text import MIMEText
@@ -121,7 +121,7 @@ def _format_body_content(text_body: str, html_body: str) -> str:
return "[No readable content found]"
def _extract_attachments(payload: dict) -> List[Dict[str, any]]:
def _extract_attachments(payload: dict) -> List[Dict[str, Any]]:
"""
Extract attachment metadata from a Gmail message payload.