this could be a bug, depending on if we have test coverage for session.merge() in conjunction with "dynamic" relations. can you reproduce this against the latest 0.5.0rc4 or 0.4.8 release, and if so can you make a short test case ?
On Dec 1, 2008, at 6:43 AM, Nabla wrote: > > Hi, > can anybody please check this: > I have some script using SA and somewhere in the script I call > sess.merge(obj) and got this error: > > 'DynamicAttributeImpl' object has no attribute 'accepts_scalar_loader' > > I don't understand fully what 'accepts_scalar_loader' is, but, I tried > to add this to attributes.py: > > class AttributeImpl(object): > """internal implementation for instrumented attributes.""" > > accepts_scalar_loader = True > > ... > And it works I hope. > I don't know if this is my misunderstanding something or SA bug? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
