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 c2e7503 commit de06c75Copy full SHA for de06c75
pyslicer/utils/validators.py
@@ -229,9 +229,9 @@ def _has_empty_column(self):
229
# Value is a dictionary when it is an entity being inserted:
230
# "my-entity": {"year": 2016}
231
# It can also be a parameter, such as "auto-create":
232
- # "auto-create-columns": ["table", "column"]
+ # "auto-create": ["table", "column"]
233
if not isinstance(
234
- value, (dict, bool)) or value is None or len(
+ value, (dict, list)) or value is None or len(
235
str(value)) == 0:
236
raise exceptions.WrongTypeException(
237
"The value for an id should be a dictionary")
0 commit comments