#NEWLINE# def __init__( self , hosts = None , keyspace = None , backend = Pycassa , **kwargs ) : #NEWLINE# #INDENT# assert isinstance ( backend , collections . Iterable ) , 'hosts must be an iterable' #NEWLINE# assert keyspace , 'keyspace must be set' #NEWLINE# return super ( PycassaCluster , self ) . __init__ ( hosts = { #NEWLINE# #INDENT# 0 : { #NEWLINE# #INDENT# 'hosts' : hosts , #NEWLINE# 'keyspace' : keyspace , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , backend = backend , ** kwargs )