예제 #1
0
파일: task.py 프로젝트: sendjack/jackalope
 def set_location(self, location_id):
     int_location = to_integer(location_id)
     self._set_property(FIELD.LOCATION, int_location)
예제 #2
0
 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))
예제 #3
0
파일: task.py 프로젝트: sendjack/jackalope
 def set_price(self, price):
     int_price = to_integer(price)
     self._set_property(FIELD.PRICE, int_price)
예제 #4
0
 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)