code: def fetch(
          self,
          limit=None,
          offset=0,
          start_cursor=None,
          end_cursor=None,
          client=None,
          eventual=False,
      ):
          
          if client is None:
              client = self._client
  
          return Iterator(
              self,
              client,
              limit=limit,
              offset=offset,
              start_cursor=start_cursor,
              end_cursor=end_cursor,
              eventual=eventual,
          )
docs: Execute the Query; return an iterator for the matching entities.
  
          For example::
  
            >>> from google.cloud import datastore
            >>> client = datastore.Client()
            >>> query = client.query(kind='Person')
            >>> query.add_filter('name', '=', 'Sally')
            >>> list(query.fetch())
            [<Entity object>, <Entity object>, ...]
            >>> list(query.fetch(1))
            [<Entity object>]
  
          :type limit: int
          :param limit: (Optional) limit passed through to the iterator.
  
          :type offset: int
          :param offset: (Optional) offset passed through to the iterator.
  
          :type start_cursor: bytes
          :param start_cursor: (Optional) cursor passed through to the iterator.
  
          :type end_cursor: bytes
          :param end_cursor: (Optional) cursor passed through to the iterator.
  
          :type client: :class:`google.cloud.datastore.client.Client`
          :param client: (Optional) client used to connect to datastore.
                         If not supplied, uses the query's value.
  
          :type eventual: bool
          :param eventual: (Optional) Defaults to strongly consistent (False).
                                      Setting True will use eventual consistency,
                                      but cannot be used inside a transaction or
                                      will raise ValueError.
  
          :rtype: :class:`Iterator`
          :returns: The iterator for the query.