diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-10 10:28:44 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-10 10:33:09 -0400 |
| commit | bf51ff3248d1c87cbc7a846e2e6886339d59b9cb (patch) | |
| tree | f00471bbd6e497de058c6064ac2cdd74dd1d8014 /doc | |
| parent | 1eb72d9725d0df60206151805c927ad3c6566fb7 (diff) | |
| download | sqlalchemy-bf51ff3248d1c87cbc7a846e2e6886339d59b9cb.tar.gz | |
include declared_directive as a declared_attr
Fixed issue where the :meth:`_orm.declared_attr.directive` modifier was not
correctly honored for subclasses when applied to the ``__mapper_args__``
special method name, as opposed to direct use of
:class:`_orm.declared_attr`. The two constructs should have identical
runtime behaviors.
Fixes: #9625
Change-Id: I0dfe9e73bb45f70dbebc8e94ce280ad3b52e867f
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_20/9625.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_20/9625.rst b/doc/build/changelog/unreleased_20/9625.rst new file mode 100644 index 000000000..edb4c0aa7 --- /dev/null +++ b/doc/build/changelog/unreleased_20/9625.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, orm + :tickets: 9625 + + Fixed issue where the :meth:`_orm.declared_attr.directive` modifier was not + correctly honored for subclasses when applied to the ``__mapper_args__`` + special method name, as opposed to direct use of + :class:`_orm.declared_attr`. The two constructs should have identical + runtime behaviors. |
