Commit b107fe05 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

opcodes: Change parameter type definition for query filter



The old definition wouldn't accept integers.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent cb1e6c3c
......@@ -650,8 +650,7 @@ class OpQuery(OpCode):
_PQueryWhat,
("fields", ht.NoDefault, ht.TListOf(ht.TNonEmptyString),
"Requested fields"),
("filter", None, ht.TOr(ht.TNone,
ht.TListOf(ht.TOr(ht.TNonEmptyString, ht.TList))),
("filter", None, ht.TOr(ht.TNone, ht.TListOf),
"Query filter"),
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment