

def __init__(self, model, cursor, meta=None):
    self.model = model
    self.cursor = cursor
    self._ct = 0
    self._idx = 0
    self._result_cache = []
    self._populated = False
    self._initialized = False
    if (meta is not None):
        (self.column_meta, self.join_meta) = meta
    else:
        self.column_meta = self.join_meta = None

dataset/ETHPy150Open coleifer/peewee/peewee.py QueryResultWrapper.__init__/original