Skip to content

Commit 26686b4

Browse files
authored
Merge pull request #28 from SlicingDice/feature/correct-data-extraction-validator
Correct data extraction validator
2 parents 23e7e89 + de0d09f commit 26686b4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Change Log
22

3+
## [2.0.1]
34
### Updated
45
- Make client compatible with python 3
6+
- Correct data extraction validator to accept columns: all
57

68
## [2.0.0]
79
### Updated

pyslicer/utils/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def _valid_keys(self):
191191
"""
192192
if "columns" in self.data:
193193
value = self.data["columns"]
194-
if not isinstance(value, list):
194+
if not isinstance(value, list) and value != "all":
195195
raise exceptions.InvalidQueryException(
196196
"The key 'columns' in query has a invalid value.")
197197
else:

0 commit comments

Comments
 (0)