UOWEventHandler raises SAPendingDeprecationWarning in 0.5rc2

Issue #1208 resolved
Former user created an issue

Hello,

as http://www.sqlalchemy.org/trac/wiki/05Migration says, session.save_or_update() is deprecated in favor of session.add()

However, sqlalchemy.orm.unitofwork.UOWEventHandler still uses save_or_update, and so, it prints a warning on the console.

The fix is trivial, but a diff is attached to this ticket.

Thanks!

Comments (3)

  1. Log in to comment