diff options
| author | Max Nanis | 2026-02-26 20:29:41 -0500 |
|---|---|---|
| committer | Max Nanis | 2026-02-26 20:29:41 -0500 |
| commit | af66829e26cb05f182bef36ac06d58c7baa0ec1e (patch) | |
| tree | 2848a9223e7d4d680f3e93fc8dfcc7545f716abd /jb/flow/events.py | |
| parent | 0bf32fadd85d5938ae29d489efdd82e2cd137300 (diff) | |
| download | amt-jb-af66829e26cb05f182bef36ac06d58c7baa0ec1e.tar.gz amt-jb-af66829e26cb05f182bef36ac06d58c7baa0ec1e.zip | |
AMTManager moved to fixture, and dectorator with parameters on tasks and init / non-static class appraoch. More assertion checks and typing. TestMTurkClient seperated from TestAMTManger
Diffstat (limited to 'jb/flow/events.py')
| -rw-r--r-- | jb/flow/events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jb/flow/events.py b/jb/flow/events.py index 5252fd0..60076de 100644 --- a/jb/flow/events.py +++ b/jb/flow/events.py @@ -96,9 +96,9 @@ def process_mturk_events_chunk(executor: Executor) -> Optional[int]: def process_assignment_submitted_event(event: MTurkEvent, msg_id: str): - from jb.decorators import AM, HM, BM + from jb.decorators import AMTM, AM, HM, BM - process_assignment_submitted(am=AM, hm=HM, bm=BM, event=event) + process_assignment_submitted(amtm=AMTM, am=AM, hm=HM, bm=BM, event=event) REDIS.xackdel(JB_EVENTS_STREAM, CONSUMER_GROUP, msg_id) |
