I have a typical Post / Tags (many tags associated with one post) relationship in flask-sqlalchemy, and I want to select posts which aren\'t tagged with any tag in a list I prov
Try this one, easy:
users = session.query(Post).filter(not_(Post.tags.name.in_(['dont', 'want', these'])))
Hope this helps!