Hi, Behold this test:
https://github.com/plq/spyne/blob/be189784b02e204b031f25bc748d9236ef7dfc59/spyne/test/test_sqlalchemy.py#L314 This is for Spyne => SQLAlchemy object bridge so please ignore Spyne-specific stuff in there. I noticed that this produced warning like this: /home/plq/.local/lib64/python2.7/site-packages/sqlalchemy/orm/relationships.py:1741: SAWarning: Warning: relationship 'foos' on mapper 'Mapper|SubBar|bar' supersedes the same relationship on inherited mapper 'Mapper|Bar|bar'; this can cause dependency issues during flush So now I wrote a patch that omits relationships from parent classes in subclasses and that warning is gone. However, my test at the end keeps failing. 1. Is there any way I can properly test this? 2. Is there a way to explicitly compile mappers? That lonely instantiation looks quite weird there. Best regards, Burak -- 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, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.