#NEWLINE# def get_property( self , root_case_type , name ) : #NEWLINE# #INDENT# type_ = self . get_type ( root_case_type ) #NEWLINE# if ( '/' in name ) : #NEWLINE# #INDENT# ( parent_rel , name ) = name . split ( '/' , 1 ) #NEWLINE# parent_case_type = type_ . relationships . get ( parent_rel ) #NEWLINE# if parent_case_type : #NEWLINE# #INDENT# return self . get_property ( parent_case_type , name ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'case_type' : root_case_type , #NEWLINE# 'relationship' : parent_rel , #NEWLINE# #UNINDENT# } #NEWLINE# raise CaseMetaException ( ( _ ( "Case type '%(case_type)s' has no '%(relationship)s' relationship to any other case type." ) % params ) ) #NEWLINE# #UNINDENT# #UNINDENT# return type_ . get_property ( name )