Returns all datum if no filter are set.
This commit is contained in:
parent
3bab402a11
commit
8f493bbc30
|
@ -35,7 +35,7 @@ class Filter(jsonpath_rw.JSONPath):
|
|||
|
||||
def find(self, datum):
|
||||
if not self.expressions:
|
||||
return []
|
||||
return datum
|
||||
|
||||
datum = jsonpath_rw.DatumInContext.wrap(datum)
|
||||
return [jsonpath_rw.DatumInContext(datum.value[i],
|
||||
|
|
Loading…
Reference in New Issue