[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-01-13 22:09:33
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/b63aae2c232f/ Changeset: b63aae2c232f Branch: None User: zzzeek Date: 2015-01-13 22:04:35+00:00 Summary: - The "wildcard" loader options, in particular the one set up by the :func:`.orm.load_only` option to cover all attributes not explicitly mentioned, now takes into account the superclasses of a given entity, if that entity is mapped with inheritance mapping, so that attribute names within the superclasses are also omitted from the load. Additionally, the polymorphic discriminator column is unconditionally included in the list, just in the same way that primary key columns are, so that even with load_only() set up, polymorphic loading of subtypes continues to function correctly. fixes #3287 Affected #: 6 files https://bitbucket.org/zzzeek/sqlalchemy/commits/11383dae8d14/ Changeset: 11383dae8d14 Branch: rel_0_9 User: zzzeek Date: 2015-01-13 22:09:16+00:00 Summary: - The "wildcard" loader options, in particular the one set up by the :func:`.orm.load_only` option to cover all attributes not explicitly mentioned, now takes into account the superclasses of a given entity, if that entity is mapped with inheritance mapping, so that attribute names within the superclasses are also omitted from the load. Additionally, the polymorphic discriminator column is unconditionally included in the list, just in the same way that primary key columns are, so that even with load_only() set up, polymorphic loading of subtypes continues to function correctly. fixes #3287 (cherry picked from commit b63aae2c232f980a47aa2a635c35dfa45390f451) Conflicts: lib/sqlalchemy/orm/mapper.py Affected #: 6 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |