#NEWLINE# def _relation_cache_key( owner_obj , relation_obj , id ) : #NEWLINE# #INDENT# owner_class_name = ( owner_obj . __name__ if hasattr ( owner_obj , '__name__' ) else owner_obj . __class__ . __name__ ) #NEWLINE# relation_class_name = ( relation_obj . __name__ if hasattr ( relation_obj , '__name__' ) else relation_obj . __class__ . __name__ ) #NEWLINE# return ( '%s_%s_%s' % ( owner_class_name , relation_class_name , id ) )