aboutsummaryrefslogtreecommitdiff
path: root/jb/models
diff options
context:
space:
mode:
authorMax Nanis2026-02-27 19:43:20 -0500
committerMax Nanis2026-02-27 19:43:20 -0500
commit758d60f4b6e46b2b601518cebee9af3b777f3c50 (patch)
tree333f71cadf4a530d5da2f0169e9c9b74aec95b3b /jb/models
parent3fda1fcd7b610947b21fc20efcfeab1bf1add7b0 (diff)
downloadamt-jb-758d60f4b6e46b2b601518cebee9af3b777f3c50.tar.gz
amt-jb-758d60f4b6e46b2b601518cebee9af3b777f3c50.zip
Fix amt manager on check_stale_hits and other tasks.
Diffstat (limited to 'jb/models')
-rw-r--r--jb/models/event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jb/models/event.py b/jb/models/event.py
index c167420..f8867c0 100644
--- a/jb/models/event.py
+++ b/jb/models/event.py
@@ -1,4 +1,4 @@
-from typing import Literal, Dict
+from typing import Dict, Any
from mypy_boto3_mturk.literals import EventTypeType
from pydantic import BaseModel, Field
@@ -29,7 +29,7 @@ class MTurkEvent(BaseModel):
)
@classmethod
- def from_sns(cls, data: Dict):
+ def from_sns(cls, data: Dict[str, Any]):
return cls.model_validate(
{
"event_type": data["EventType"],