Manage None as value of PYSON In
issue11280 review393771002
This commit is contained in:
+4
-1
@@ -525,7 +525,10 @@ class In(PYSON):
|
||||
|
||||
@staticmethod
|
||||
def eval(dct, context):
|
||||
return dct['k'] in dct['v']
|
||||
if dct['v']:
|
||||
return dct['k'] in dct['v']
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
class Date(PYSON):
|
||||
|
||||
Reference in New Issue
Block a user