hi
i run today my tests just out of curiosity, so dont worry if not a
time for it.
here one more session.merge thing that has been working before... (now
on trunk r5970)
File "other/expression.py", line 436, in <module>
p = session.merge(p)
File "sqlalchemy/orm/session.py", line 1162, in merge
return self._merge(instance, dont_load=dont_load,
_recursive=_recursive)
File "sqlalchemy/orm/session.py", line 1211, in _merge
prop.merge(self, instance, merged, dont_load, _recursive)
File "sqlalchemy/orm/properties.py", line 666, in merge
obj = session._merge(current, dont_load=dont_load,
_recursive=_recursive)
File "sqlalchemy/orm/session.py", line 1211, in _merge
prop.merge(self, instance, merged, dont_load, _recursive)
File "sqlalchemy/orm/interfaces.py", line 462, in merge
raise NotImplementedError()
i have to look it in detail, if interested.
there's also some new (to me at least)
ArgumentError: A.b and back-reference B.a are both of the same
direction <symbol 'MANYTOONE>. Did you mean to set remote_side on
the many-to-one side ?
which i have to check as well one day...
ciao
svilen
On Monday 18 May 2009 19:45:02 Michael Bayer wrote:
> 0.5.4 we hardly knew ye. A small glitch was introduced in 0.5.4
> which broke the merge() feature, and incredibly we had no test
> coverage for the usage of merge() where some of the attributes on a
> newly minted object were left blank. This is a pretty strong
> blocker for anyone that uses merge() non-trivially so we've
> released a repair release. Both of those issues have been fixed.
>
> Download SQLAlchemy 0.5.4p1 at:
>
> http://www.sqlalchemy.org/download.html
>
> 0.5.4p1
> =======
>
> - orm
> - Fixed an attribute error introduced in 0.5.4 which would
> occur when merge() was used with an incomplete object.
>
>
>
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---