I'm not sure if this affects S.A 0.6. It appears that orm.properties.RelationProperty. _post_init does not create a _dependency_processor attribute if the relation is viewonly.
Line1016: if not self.viewonly: self._dependency_processor = dependency.create_dependency_processor(self) This causes orm.dependency._check_reverse_action to fail as the attribute does not exist. The patch I applied is to add attribute existence verification: Line 142: for r in self.prop._reverse_property: if hasattr(r, '_dependency_processor') : if (r._dependency_processor, action, parent, child) in uowcommit.attributes: return True return False --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---