UPSERT (update or insert) in Oracle with Python