def set_location(self, location_id): int_location = to_integer(location_id) self._set_property(FIELD.LOCATION, int_location)
def _read_stories(self, task_id): """Read Asana raw stories for a task and return them as a list.""" return self._asana_api.list_stories(to_integer(task_id))
def set_price(self, price): int_price = to_integer(price) self._set_property(FIELD.PRICE, int_price)
def add_comment(self, task_id, message): """Create a comment in the service on a task.""" return self._asana_api.add_story(to_integer(task_id), message)