From bf865811c05a9bd26dc86b8cd8727cadf5a5d7ac Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 25 Feb 2026 16:20:04 +0000 Subject: [PATCH] added handler typing --- backend/export/property_scenarios/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/export/property_scenarios/main.py b/backend/export/property_scenarios/main.py index 56886a8b..eb97df2f 100644 --- a/backend/export/property_scenarios/main.py +++ b/backend/export/property_scenarios/main.py @@ -99,7 +99,7 @@ def process_export(payload: ExportRequest, session: Session) -> Dict[Union[str, # Lambda Handler # ============================================================ -def handler(event: dict, context: Optional[Any]) -> Mapping[str, int | str]: +def handler(event: Mapping[str, Any], context: Optional[Any]) -> Mapping[str, int | str]: """ Lambda event should have the following structure: 1) task id - unique identifier for the export task (optional, can be used for tracking/logging)