SQLALCHEMY Excluir a granel
session.query(Users).filter(Users.id.in_(subquery....)).delete(synchronize_session=False)
Doubtful Dolphin
session.query(Users).filter(Users.id.in_(subquery....)).delete(synchronize_session=False)