code: def attach(self, attached_file, **attrs):
          
          return TaskAttachments(self.requester).create(
              self.project, self.id,
              attached_file, **attrs
          )
docs: Attach a file to the :class:`Task`
  
          :param attached_file: file path to attach
          :param attrs: optional attributes for the attached file