users_dynamic = relationship('User', passive_deletes=True, secondary=
    users_groups, lazy='dynamic')
SQLAlchemy DELETE Error caused by having a both lazy-load AND a dynamic version of the same relationship