code: def create(self, timeout=values.unset, priority=values.unset,
                 task_channel=values.unset, workflow_sid=values.unset,
                 attributes=values.unset):
          
          data = values.of({
              'Timeout': timeout,
              'Priority': priority,
              'TaskChannel': task_channel,
              'WorkflowSid': workflow_sid,
              'Attributes': attributes,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return TaskInstance(self._version, payload, workspace_sid=self._solution['workspace_sid'], )
docs: Create a new TaskInstance
  
          :param unicode timeout: The amount of time in seconds the task is allowed to live up to a maximum of 2 weeks.
          :param unicode priority: Override priority for the Task.
          :param unicode task_channel: When MultiTasking is enabled specify the type of the task by passing either TaskChannel Unique Name or Task Channel Sid.
          :param unicode workflow_sid: The WorkflowSid for the Workflow that you would like to handle routing for this Task.
          :param unicode attributes: Url-encoded JSON string describing the attributes of this task.
  
          :returns: Newly created TaskInstance
          :rtype: twilio.rest.taskrouter.v1.workspace.task.TaskInstance