code: def find_by_task(self, task, params={}, **options): 
          
          path = "/tasks/%s/attachments" % (task)
          return self.client.get_collection(path, params, **options)
docs: Returns the compact records for all attachments on the task.
  
          Parameters
          ----------
          task : {Id} Globally unique identifier for the task.
          [params] : {Object} Parameters for the request