sqlalchemy and query code example Example: sqlalchemy _in array sqlite session.query(MyUserClass).filter(MyUserClass.id.in_((123,456))).all()