From 222b3102dcd46d9080fd93410b9ae9b96fe8375f Mon Sep 17 00:00:00 2001 From: dylan <12473240+dlmw@users.noreply.github.com> Date: Sat, 12 Apr 2025 17:07:09 +0200 Subject: [PATCH] Add type to function --- services/extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/extractor.py b/services/extractor.py index 9e777a7..3545b61 100644 --- a/services/extractor.py +++ b/services/extractor.py @@ -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 = (