[sqlalchemy] Re: Serializing sqlalchemy declarative instances with yaml

2016-09-20 Thread Sergii Nechuiviter
This is Yaml bug: http://pyyaml.org/ticket/245 -- 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 sqlalchemy+unsubscr...@googlegroups.com. To post to this group,

Re: [sqlalchemy] AutomapBase without binding engine/tables individually?

2016-09-20 Thread Simon King
On Tue, Sep 20, 2016 at 5:36 AM, Rahul Ahuja wrote: > Thanks for the swift reply, Mike! Unfortunately, I had some trouble running > your code. I'm getting > base = automap_base(MetaData()) > File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/automap.py", > line

[sqlalchemy] Row versioning not working with multi-table polymorphism

2016-09-20 Thread Chris Wilson
Dear Michael, I have been trying to add row versioning to our existing multi-table polymorphism setup and I think I may have found an issue that I hope you can help with. The following example appears to generate invalid SQL when it tries to update the base class table, but there are no

Re: [sqlalchemy] Row versioning not working with multi-table polymorphism

2016-09-20 Thread Mike Bayer
On 09/20/2016 09:13 AM, Chris Wilson wrote: Dear Michael, I have been trying to add row versioning to our existing multi-table polymorphism setup and I think I may have found an issue that I hope you can help with. hi Chris - thanks for the clear test case, this is very helpful. So you're

[sqlalchemy] Re: Row versioning not working with multi-table polymorphism

2016-09-20 Thread Chris Wilson
Dear Mike, Thank you very much for the fast reply and workaround! I think it might have been us that originally requested the server-side versioning. We would like to continue using it because we have some large tables that don't really need an additional ID column since the database already