#NEWLINE# @ classmethod #NEWLINE# def _CreateSchemaWithoutProperties( cls , api , name , def_dict , wire_name , parent ) : #NEWLINE# #INDENT# if parent : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# pname = parent [ 'id' ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# pname = '<unknown>' #NEWLINE# #UNINDENT# name_to_log = ( '%s.%s' % ( pname , name ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# name_to_log = name #NEWLINE# #UNINDENT# logging . warning ( 'object without properties %s: %s' , name_to_log , def_dict ) #NEWLINE# schema = cls ( api , name , def_dict , parent = parent ) #NEWLINE# if wire_name : #NEWLINE# #INDENT# schema . SetTemplateValue ( 'wireName' , wire_name ) #NEWLINE# #UNINDENT# return schema