Mike Conley wrote:
I am getting this error on a session.flush().
sqlalchemy.orm.exc.ConcurrentModificationError: Updated rowcount 0
does
not match number of objects updated 1
and can't figure out where to start looking.
it means an UPDATE was issued towards updating the values of a
Thanks, that helps. It looks like the problem is around a M:N relationship.
There is some complex logic about whether or not the row on the :N side of
the relation should be copied or the original referenced. The related
maintenance of the supporting association table causes the update problem.