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 c0a489d commit a1de8a6Copy full SHA for a1de8a6
pyslicer/utils/validators.py
@@ -32,7 +32,10 @@ def check_dictionary(self, dictionary):
32
"This query has invalid keys or values.")
33
34
for key in dictionary:
35
- dictionary_value = dictionary[key]
+ if isinstance(key, dict):
36
+ dictionary_value = key.get('query')
37
+ else:
38
+ dictionary_value = dictionary[key]
39
self.check_dictionary_value(dictionary_value)
40
41
def check_list(self, dictionary_list):
0 commit comments