Skip to content
Browse files

Added UpdateQualificationScore for mturk

  • Loading branch information...
1 parent 3cf6eef commit df559e39c6602109dc2e856c7254b6ae2c8d29f7 @thaDude thaDude committed
Showing with 9 additions and 1 deletion.
  1. +9 −1 boto/mturk/connection.py
View
10 boto/mturk/connection.py
@@ -706,9 +706,17 @@ def assign_qualification(self, qualification_type_id, worker_id,
params = {'QualificationTypeId' : qualification_type_id,
'WorkerId' : worker_id,
'IntegerValue' : value,
- 'SendNotification' : send_notification, }
+ 'SendNotification' : send_notification}
return self._process_request('AssignQualification', params)
+ def update_qualification_score(self, qualification_type_id, worker_id,
+ value):
+ """TODO: Document."""
+ params = {'QualificationTypeId' : qualification_type_id,
+ 'SubjectId' : worker_id,
+ 'IntegerValue' : value}
+ return self._process_request('UpdateQualificationScore', params)
+
def _process_request(self, request_type, params, marker_elems=None):
"""
Helper to process the xml response from AWS

0 comments on commit df559e3

Please sign in to comment.
Something went wrong with that request. Please try again.