sqlalchemy filtering on get

auto detect list or str to build sqlalchemy query