#NEWLINE# def get_association( self , association , query_string = '' ) : #NEWLINE# #INDENT# 'Retrieves an association.\n\n           The association parameter should be a string containing the\n           association id or the dict returned by create_association.\n           As association is an evolving object that is processed\n           until it reaches the FINISHED or FAULTY state, the function will\n           return a dict that encloses the association values and state info\n           available at the time it is called.\n        ' #NEWLINE# check_resource_type ( association , ASSOCIATION_PATH , message = 'An association id is needed.' ) #NEWLINE# association_id = get_association_id ( association ) #NEWLINE# if association_id : #NEWLINE# #INDENT# return self . _get ( ( '%s%s' % ( self . url , query_string ) ) , query_string = query_string )