'Constructor.  Takes a Query and query options.
This is normally called by Query.iter() or Query.__iter__().'

@utils.positional(2)
def __init__(self, query, **q_options):

    ctx = tasklets.get_context()
    options = query._make_options(q_options)
    callback = self._extended_callback
    self._iter = ctx.iter_query(query, callback=callback, pass_batch_into_callback=True, options=options)
    self._fut = None
