#NEWLINE# def get_named_type( type ) : #NEWLINE# #INDENT# unmodified_type = type #NEWLINE# while isinstance ( type , ( GraphQLList , GraphQLNonNull ) ) : #NEWLINE# #INDENT# unmodified_type = unmodified_type . of_type #NEWLINE# #UNINDENT# return unmodified_type