Module Expr Str Import alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Import alias Import alias Import alias ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assign NameStore Dict If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str orelse For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore AttributeLoad NameLoad attr AugAssignAdd NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return CompareEq AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Provides NotificationMessage and Event classes, with utility methods, for
implementations of the Mechanical Turk Notification API.
 N/A hmac N/A N/A hashlib sha1 sha N/A N/A N/A ImportError N/A N/A sha N/A base64 N/A re NotificationMessage N/A object N/A N/A NOTIFICATION_WSDL http://mechanicalturk.amazonaws.com/AWSMechanicalTurk/2006-05-05/AWSMechanicalTurkRequesterNotification.wsdl N/A NOTIFICATION_VERSION 2006-05-05 N/A SERVICE_NAME AWSMechanicalTurkRequesterNotification N/A OPERATION_NAME Notify N/A EVENT_PATTERN Event\.(?P<n>\d+)\.(?P<param>\w+) N/A EVENT_RE N/A N/A re compile EVENT_PATTERN __init__ N/A N/A self d N/A N/A N/A 
        Constructor; expects parameter d to be a dict of string parameters from a REST transport notification message
         N/A N/A self signature N/A d N/A Signature N/A N/A self timestamp N/A d N/A Timestamp N/A N/A self version N/A d N/A Version N/A N/A N/A d N/A method N/A NotificationMessage OPERATION_NAME N/A Method should be '%s' N/A NotificationMessage OPERATION_NAME N/A N/A self events N/A N/A events_dict N/A N/A N/A Event d N/A N/A events_dict N/A d N/A Event N/A N/A k d N/A N/A v N/A d N/A k N/A N/A N/A k startswith Event. N/A N/A ed N/A N/A N/A N/A N/A NotificationMessage EVENT_RE search k groupdict N/A n N/A int N/A ed N/A n N/A param N/A str N/A ed N/A param N/A N/A n events_dict N/A N/A N/A events_dict N/A n N/A N/A N/A N/A events_dict N/A n N/A param v N/A n events_dict N/A N/A N/A N/A N/A self events append N/A Event N/A events_dict N/A n N/A verify N/A N/A self secret_key N/A N/A N/A 
        Verifies the authenticity of a notification message.

        TODO: This is doing a form of authentication and
              this functionality should really be merged
              with the pluggable authentication mechanism
              at some point.
         N/A verification_input N/A NotificationMessage SERVICE_NAME N/A verification_input N/A NotificationMessage OPERATION_NAME N/A verification_input N/A self timestamp N/A h N/A N/A hmac new key secret_key digestmod sha N/A N/A N/A h update verification_input N/A signature_calc N/A N/A base64 b64encode N/A N/A h digest N/A N/A N/A self signature signature_calc N/A N/A Event N/A object N/A __init__ N/A N/A self d N/A N/A N/A N/A self event_type N/A d N/A EventType N/A N/A self event_time_str N/A d N/A EventTime N/A N/A self hit_type N/A d N/A HITTypeId N/A N/A self hit_id N/A d N/A HITId N/A N/A AssignmentId d N/A N/A N/A self assignment_id N/A d N/A AssignmentId N/A __repr__ N/A N/A self N/A N/A N/A N/A <boto.mturk.notification.Event: %s for HIT # %s> N/A N/A self event_type N/A self hit_id N/A N/A