def __getattr__(self, attr):
        cursor_attr = getattr(self.cursor, attr)
        if attr in CursorWrapper.WRAP_ERROR_ATTRS:
            return self.db.wrap_database_errors(cursor_attr)
        else:
            return cursor_attr
dataset/ETHPy150Open r4fek/django-cassandra-engine/django_cassandra_engine/utils.py/CursorWrapper.__getattr__/original