code: def QueryAttachments(self, document_link, query, options=None):
          
          if options is None:
              options = {}
  
          path = base.GetPathFromLink(document_link, 'attachments')
          document_id = base.GetResourceIdOrFullNameFromLink(document_link)
  
          def fetch_fn(options):
              return self.__QueryFeed(path,
                                      'attachments',
                                      document_id,
                                      lambda r: r['Attachments'],
                                      lambda _, b: b,
                                      query,
                                      options), self.last_response_headers
          return query_iterable.QueryIterable(self, query, options, fetch_fn)
docs: Queries attachments in a document.
  
          :param str document_link:
              The link to the document.
          :param (str or dict) query:
          :param dict options:
              The request options for the request.
  
          :return:
              Query Iterable of Attachments.
          :rtype:
              query_iterable.QueryIterable