You can solve this problem now with this code:
from storm.expr import Func
result = store.find(t1, In(Func("ROW", t1.c1, t1.c2), Select((t2.c3, t2.c4))))
You can trivially implement a Row expression with this code:
from storm.expr import NamedFunc
class Row(NamedFunc):
name = "ROW"
and then do:
result = store.find(t1, In(Row(t1.c1, t1.c2), Select((t2.c3, t2.c4))))
That said, this is probably still a bug that should be fixed.
You can solve this problem now with this code:
from storm.expr import Func
result = store.find(t1, In(Func("ROW", t1.c1, t1.c2), Select((t2.c3, t2.c4))))
You can trivially implement a Row expression with this code:
from storm.expr import NamedFunc
class Row(NamedFunc):
name = "ROW"
and then do:
result = store.find(t1, In(Row(t1.c1, t1.c2), Select((t2.c3, t2.c4))))
That said, this is probably still a bug that should be fixed.