asana_hub/tool.py
def get_asana_task(self, asana_task_id):
        """Retrieves a task from asana."""

        try:
            return self.asana.tasks.find_by_id(asana_task_id)
        except asana_errors.NotFoundError:
            return None
        except asana_errors.ForbiddenError:
            return None
def get_asana_task(self, asana_task_id):
        try:
            return self.asana.tasks.find_by_id(asana_task_id)
        except asana_errors.NotFoundError:
            return None
        except asana_errors.ForbiddenError:
            return None
def get_asana_task ( self , asana_task_id ) : try : return self . asana . tasks . find_by_id ( asana_task_id ) except asana_errors . NotFoundError : return None except asana_errors . ForbiddenError : return None
Retrieves a task from asana.
Retrieves a task from asana .