'Updates the start of the range immediately past the specified key.
Args:
key: A db.Key or ndb.Key.'

def advance(self, key):

    self.include_start = False
    if (ndb is not None):
        if isinstance(key, ndb.Key):
            key = key.to_old_key()
    self.key_start = key
