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)