diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-09 11:33:30 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-05-09 11:34:17 -0400 |
| commit | 4e3806861b19a00203f95b6ecbe411a4e252d152 (patch) | |
| tree | 7270372745caeed7f7b55d7ae358b42f53a29c6b /doc/build | |
| parent | 946e71efdfc93777027f4fd7360a524051be393d (diff) | |
| download | sqlalchemy-4e3806861b19a00203f95b6ecbe411a4e252d152.tar.gz | |
allow column named twice warning to take effect
Fixed issue in :func:`_orm.mapped_column` construct where the correct
warning for "column X named directly multiple times" would not be emitted
when ORM mapped attributes referred to the same :class:`_schema.Column`, if
the :func:`_orm.mapped_column` construct were involved, raising an internal
assertion instead.
Fixes: #9630
Change-Id: I5d9dfaaa225aefb487c9cd981ba3ad78507bb577
Diffstat (limited to 'doc/build')
| -rw-r--r-- | doc/build/changelog/unreleased_20/9630.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_20/9630.rst b/doc/build/changelog/unreleased_20/9630.rst new file mode 100644 index 000000000..912cb5795 --- /dev/null +++ b/doc/build/changelog/unreleased_20/9630.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, orm + :tickets: 9630 + + Fixed issue in :func:`_orm.mapped_column` construct where the correct + warning for "column X named directly multiple times" would not be emitted + when ORM mapped attributes referred to the same :class:`_schema.Column`, if + the :func:`_orm.mapped_column` construct were involved, raising an internal + assertion instead. |
