#NEWLINE# def __init__( self , db ) : #NEWLINE# #INDENT# 'Connect to the database' #NEWLINE# self . db = self #NEWLINE# ascfg = { #NEWLINE# #INDENT# 'hosts' : [ ( '127.0.0.1' , 3000 ) ] , #NEWLINE# #UNINDENT# } #NEWLINE# self . ascli = aerospike . client ( ascfg ) . connect ( )