We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e56bb39 commit 741cd53Copy full SHA for 741cd53
1 file changed
rest/helper.py
@@ -112,8 +112,10 @@ def _handle_struct(prop):
112
p_dict.pop('type', None)
113
p_dict['value'] = []
114
for _, m in prop.members.iteritems():
115
- m_dict = _handle_simple(m)
116
- p_dict['value'].append( m_dict )
+ if type(m) == sequenceProperty:
+ p_dict['value'].append( _handle_simpleseq(m) )
117
+ else:
118
+ p_dict['value'].append( _handle_simple(m) )
119
p_dict['scaType'] = 'struct'
120
return p_dict
121
0 commit comments