Re: [sqlalchemy] after_bulk_update table/column info?

2013-07-07 Thread David Szotten
Awesome, thanks! (For the record, i was ultimately looking for the field types involved in the update, which i found with your help above as: for bind in result.context.compiled.binds.values(): field_type = bind.type if isinstance(field_type, MyField): raise NotImp

Re: [sqlalchemy] after_bulk_update table/column info?

2013-07-07 Thread Michael Bayer
this should probably be available as some documented helper function for now, it's tricky to figure out up front what parameters these events will need. Really these "bulk" events should get to know all the arguments that were passed, including the synchronize_session argument which isn't prese

[sqlalchemy] after_bulk_update table/column info?

2013-07-07 Thread David Szotten
Hi, Is it possible to find out which class/columns were included in the update from an `after_bulk_update` event handler? >From what i can tell from the source, this information lives on the `BulkUpdate(Evaluate in my case)` object which isn't passed to the event handler, and I can't figure ou