#NEWLINE# def get_associations( self , query = '' ) : #NEWLINE# #INDENT# if ( type ( query ) is dict ) : #NEWLINE# #INDENT# sQuery = '' #NEWLINE# for key in query : #NEWLINE# #INDENT# sQuery = ( ( ( ( sQuery + key ) + '=' ) + sQuery [ key ] ) + '&' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# sQuery = query #NEWLINE# #UNINDENT# body = self . _con . get ( ( ( uri [ 'association' ] + '?' ) + sQuery ) ) #NEWLINE# return get_members ( body )