extended applyConditions to handle "is not" conditions
This commit is contained in:
@@ -52,6 +52,11 @@ def applyConditions(definition, dictionary, outputs):
|
|||||||
print(filter["print"])
|
print(filter["print"])
|
||||||
return True, filter
|
return True, filter
|
||||||
|
|
||||||
|
if filter["operator"] == "is not":
|
||||||
|
if resolvedvalue is not filtervalue:
|
||||||
|
print(filter["print"])
|
||||||
|
return True, filter
|
||||||
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print(f"Value not present in runtime for filtering during {definition.name}")
|
print(f"Value not present in runtime for filtering during {definition.name}")
|
||||||
#print(filter)
|
#print(filter)
|
||||||
|
|||||||
Reference in New Issue
Block a user