class_docstr: Wrapper around Asana Python client library.
class_docstr_tok: ["Wrapper","around","Asana","Python","client","library","."]
docstr: Update an existing Asana task.
  
  :param task_id: Asana GID of task to update
  :param params: New values of the task's attributes. For a list of possible parameters, see
      https://developers.asana.com/docs/update-a-task
  :return: A dict containing the updated task's attributes
docstr_tok: ["Update","an","existing","Asana","task",".",":","param","task_id",":","Asana","GID","of","task","to","update",":","param","params",":","New","values","of","the","task","'s","attributes",".","For","a","list","of","possible","parameters",",","see","https",":","\/\/developers.asana.com\/docs\/update-a-task",":","return",":","A","dict","containing","the","updated","task","'s","attributes"]
code: def update_task(self, task_id: str, params: dict) -> dict:
      """
      Update an existing Asana task.
  
      :param task_id: Asana GID of task to update
      :param params: New values of the task's attributes. For a list of possible parameters, see
          https://developers.asana.com/docs/update-a-task
      :return: A dict containing the updated task's attributes
      """
      response = self.client.tasks.update(task_id, params)
      return response
  
imports: from __future__ import annotations
  from functools import cached_property
  from typing import Any
  from asana import Client
  from asana.error import NotFoundError
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 14 for calling the AsanaHook obj's underlying member method code with example usage: obj.update_task(task_id, params) and returns: response