diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-10 14:03:04 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-10-11 14:39:54 -0400 |
commit | c35921b79e1683d3738a69f8ff6a892c3c2846e2 (patch) | |
tree | 78493c245874882ebcedbdb7b6d623c5b4f1b4d9 /lib/sqlalchemy/ext/serializer.py | |
parent | 9d132a7cf96678a732b06266fa0a35279268604b (diff) | |
download | sqlalchemy-c35921b79e1683d3738a69f8ff6a892c3c2846e2.tar.gz |
warn for no polymorphic identity w/ poly hierarchy
A warning is emitted when attempting to configure a mapped class within an
inheritance hierarchy where the mapper is not given any polymorphic
identity, however there is a polymorphic discriminator column assigned.
Such classes should be abstract if they never intend to load directly.
Fixes: #7545
Change-Id: I94f04e59736c73e3f39d883a75d763e3f06ecc3d
Diffstat (limited to 'lib/sqlalchemy/ext/serializer.py')
0 files changed, 0 insertions, 0 deletions