mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added handler typing
This commit is contained in:
parent
2e5ae82d3b
commit
bf865811c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue