def tasks(self, **kwargs):
        """ Fetch tasks specified criteria """
        tasks_result = self.service.tasks().list(**kwargs).execute()
        return [Task(task) for task in tasks_result.get("items", [])]
def tasks ( self , ** kwargs ) : tasks_result = self . service . tasks ( ) . list ( ** kwargs ) . execute ( ) return [ Task ( task ) for task in tasks_result . get ( "items" , [ ] ) ]
Fetch tasks specified criteria