Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #588 from kachok/master

missing feature in mturk/register_hit_type method
  • Loading branch information...
commit 37910c294b719e04f1f9617a5d16b3fe328c95af 2 parents 72deeb9 + 5c16629
@garnaat garnaat authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 boto/mturk/connection.py
View
10 boto/mturk/connection.py
@@ -94,7 +94,8 @@ def register_hit_type(self, title, description, reward, duration,
if qual_req is not None:
params.update(qual_req.get_as_params())
- return self._process_request('RegisterHITType', params)
+ return self._process_request('RegisterHITType', params, [('HITTypeId', HITTypeId)])
+
def set_email_notification(self, hit_type, email, event_types=None):
"""
@@ -820,6 +821,13 @@ def _has_expired(self):
# are we there yet?
expired = property(_has_expired)
+class HITTypeId(BaseAutoResultElement):
+ """
+ Class to extract an HITTypeId structure from a response
+ """
+
+ pass
+
class Qualification(BaseAutoResultElement):
"""
Class to extract an Qualification structure from a response (used in

0 comments on commit 37910c2

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