code: def get_cassandra_connections():
      
  
      from django.db import connections
      for alias in connections:
          engine = connections[alias].settings_dict.get('ENGINE', '')
          if engine == 'django_cassandra_engine':
              yield alias, connections[alias]
docs: :return: List of tuples (db_alias, connection) for all cassandra
      connections in DATABASES dict.