488
488
def is_in(self, others):
489
if not isinstance(others, Expr):
489
from storm.store import ResultSet
490
if isinstance(others, ResultSet):
491
# If a ResultSet is passed, use it for a SELECT subquery, instead
492
# of performing a separate query and passing in the resulting list.
493
others = others._get_select()
494
elif not isinstance(others, Expr):
490
495
others = list(others)