Skip to content

WorkerBlock

Source code in docs_src/capo_mturk/types/worker_block.py
class WorkerBlock(TypedDict, closed=True):
    worker_id: NotRequired["capo_mturk.types.customer_id.CustomerId"]
    """<p> The ID of the Worker who accepted the HIT.</p>"""
    reason: NotRequired["capo_mturk.types.string.String"]
    """<p> A message explaining the reason the Worker was blocked. </p>"""

reason instance-attribute

reason: NotRequired[String]

A message explaining the reason the Worker was blocked.

worker_id instance-attribute

worker_id: NotRequired[CustomerId]

The ID of the Worker who accepted the HIT.