

def _cursor(self):
    from cassandra.cqlengine import connection
    keyspace = self.settings_dict['NAME']
    connection.cluster.metadata.keyspaces[keyspace]
    return CursorWrapper(self.connection.cursor(), self)

dataset/ETHPy150Open r4fek/django-cassandra-engine/django_cassandra_engine/base/__init__.py DatabaseWrapper._cursor/original