[Sqlalchemy-tickets] Issue #3515: AliasedClass or aliased(model) can't be inherited correctly (zzze
Brought to you by:
zzzeek
|
From: Adriel V. <iss...@bi...> - 2015-08-17 18:29:13
|
New issue 3515: AliasedClass or aliased(model) can't be inherited correctly https://bitbucket.org/zzzeek/sqlalchemy/issues/3515/aliasedclass-or-aliased-model-cant-be Adriel Velazquez: AliasedClass or an aliased(model) isn't an inhertiable class. Currently if you want to create a separate class that mimics the same model with complex polymorphic relationships. Creating an Aliased class is the only way of doing so so that the mappers are pointing to the same location; however, Aliased models can't except custom session.query_properties or inherited to expand on these functionalities. |