attribute events are listening specifically for changes made to an object > in within the user application, which is not the same as the object being > loaded from the database. > > To establish a listener that intercepts when an object is loaded, you can > use the load event: > http://docs.sqlalchemy.org/en/rel_0_9/orm/events.html#sqlalchemy.orm.events.InstanceEvents.load > or reconstructor: > http://docs.sqlalchemy.org/en/rel_0_9/orm/mapper_config.html?highlight=reconstructor#constructors-and-object-initialization. > > Within this event > you’d look to the specific attributes you’re concerned with and handle them > there. > > Thanks!
> > > > > > > Thanks, > 'Tino > > > -- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected]<javascript:> > . > Visit this group at http://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.
