Add type to function

This commit is contained in:
dylan
2025-04-12 17:07:09 +02:00
parent bc3ba59dd6
commit 222b3102dc

View File

@ -11,7 +11,7 @@ from utils.parsers import process_profile
from validation.from_profile import FromProfile
def extract_profile(client_data: dict[str, Any]):
def extract_profile(client_data: dict[str, Any]) -> FromProfile:
passport_data = client_data.get("profile")
prompt_template = (