Re: [sqlalchemy] How can I use bulk_save_objects when I know the primary key?

2020-03-12 Thread Mike Bayer
On Thu, Mar 12, 2020, at 9:51 PM, James Fennell wrote: > Hey all! I'm having a problem using the bulk_save_objects function. > ** > *Background*: I'm working on an application that updates state in a database > from an external feed. The process is: I read the feed, convert the data into >

[sqlalchemy] How can I use bulk_save_objects when I know the primary key?

2020-03-12 Thread James Fennell
Hey all! I'm having a problem using the bulk_save_objects function. *Background*: I'm working on an application that updates state in a database from an external feed. The process is: I read the feed, convert the data into SQLAlchemy objects which are detached from the session and then call