

def record(self, conn, cursor, statement, *args):
    if self.recording:
        cursor.queries.append(statement)

dataset/ETHPy150Open pypa/warehouse/tests/conftest.py QueryRecorder.record/VarMisuse@26/28 `self`->`cursor`