original_docstring: PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.  ActivityTask
          is dispatched to callers whenever a ScheduleTask decision is made for a workflow execution.
          Application is expected to call 'RespondActivityTaskCompleted' or 'RespondActivityTaskFailed' once it is done
          processing the task.
          Application also needs to call 'RecordActivityTaskHeartbeat' API within 'heartbeatTimeoutSeconds' interval to
          prevent the task from getting timed out.  An event 'ActivityTaskStarted' event is also written to workflow execution
          history before the ActivityTask is dispatched to application worker.
          
docstring: PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.  ActivityTask
  is dispatched to callers whenever a ScheduleTask decision is made for a workflow execution.
  Application is expected to call 'RespondActivityTaskCompleted' or 'RespondActivityTaskFailed' once it is done
  processing the task.
  Application also needs to call 'RecordActivityTaskHeartbeat' API within 'heartbeatTimeoutSeconds' interval to
  prevent the task from getting timed out.  An event 'ActivityTaskStarted' event is also written to workflow execution
  history before the ActivityTask is dispatched to application worker.
docstring_tokens: PollForActivityTask is called by application worker to process ActivityTask from a specific taskList . ActivityTask is dispatched to callers whenever a ScheduleTask decision is made for a workflow execution . Application is expected to call ' RespondActivityTaskCompleted ' or ' RespondActivityTaskFailed ' once it is done processing the task . Application also needs to call ' RecordActivityTaskHeartbeat ' API within ' heartbeatTimeoutSeconds ' interval to prevent the task from getting timed out . An event ' ActivityTaskStarted ' event is also written to workflow execution history before the ActivityTask is dispatched to application worker .
code: def PollForActivityTask(self, request, context):
          """PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.  ActivityTask
          is dispatched to callers whenever a ScheduleTask decision is made for a workflow execution.
          Application is expected to call 'RespondActivityTaskCompleted' or 'RespondActivityTaskFailed' once it is done
          processing the task.
          Application also needs to call 'RecordActivityTaskHeartbeat' API within 'heartbeatTimeoutSeconds' interval to
          prevent the task from getting timed out.  An event 'ActivityTaskStarted' event is also written to workflow execution
          history before the ActivityTask is dispatched to application worker.
          """
          context.set_code(grpc.StatusCode.UNIMPLEMENTED)
          context.set_details('Method not implemented!')
          raise NotImplementedError('Method not implemented!')
code_tokens: def PollForActivityTask ( self , request , context ) : context . set_code ( grpc . StatusCode . UNIMPLEMENTED ) context . set_details ( 'Method not implemented!' ) raise NotImplementedError ( 'Method not implemented!' )
short_docstring: PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.
short_docstring_tokens: PollForActivityTask is called by application worker to process ActivityTask from a specific taskList .
comment: """PollForActivityTask is called by application worker to process ActivityTask from a specific taskList.  ActivityTask
          is dispatched to callers whenever a ScheduleTask decision is made for a workflow execution.
          Application is expected to call 'RespondActivityTaskCompleted' or 'RespondActivityTaskFailed' once it is done
          processing the task.
          Application also needs to call 'RecordActivityTaskHeartbeat' API within 'heartbeatTimeoutSeconds' interval to
          prevent the task from getting timed out.  An event 'ActivityTaskStarted' event is also written to workflow execution
          history before the ActivityTask is dispatched to application worker.
          """