We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f18c97 commit 1028a4eCopy full SHA for 1028a4e
src/sophios/compiler.py
@@ -896,7 +896,7 @@ def populate_scalar_val(in_dict: dict) -> Any:
896
val_list.append(populate_scalar_val(
897
{'type': in_dict['type']['items'], 'value': val, 'format': in_dict.get('format')}))
898
new_keyval = {key: val_list}
899
- elif isinstance(in_dict['type'], list) and 'array' == in_dict['type'][1]['type']:
+ elif isinstance(in_dict['type'], list) and isinstance(in_dict['type'][1], dict) and 'array' == in_dict['type'][1]['type']:
900
val_list = []
901
for val in in_dict['value']:
902
0 commit comments