example, where the subclasses of AddressAssociation were not being
mapped as "single table inheritance", leading to problems when trying
to use the mappings further.
(cherry picked from commit
2098001ad3e0a40aa909a347ec91c12fab04a657)
.. changelog::
:version: 0.9.9
+ .. change::
+ :tags: bug, examples
+ :versions: 1.0.0
+
+ Fixed a bug in the examples/generic_assocaitions/discriminator_on_association.py
+ example, where the subclasses of AddressAssociation were not being
+ mapped as "single table inheritance", leading to problems when trying
+ to use the mappings further.
+
.. change::
:tags: bug, orm
:versions: 1.0.0
"%sAddressAssociation" % name,
(AddressAssociation, ),
dict(
+ __tablename__=None,
__mapper_args__={
"polymorphic_identity": discriminator
}