diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-25 17:59:35 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-01-25 17:59:35 -0500 |
| commit | 9205e9171cfd4b488be61228d8d53b0da1d49c19 (patch) | |
| tree | cbbbb25d1379ea141b2335ba29c326b2ea2bdcd5 /lib/sqlalchemy/testing | |
| parent | 57db20a187e80950037dd5a2141a560fe879e054 (diff) | |
| download | sqlalchemy-9205e9171cfd4b488be61228d8d53b0da1d49c19.tar.gz | |
Fill-out dataclass-related attr resolution
Fixed issue where mixin attribute rules were not taking
effect correctly for attributes pulled from dataclasses
using the approach added in #5745.
Fixes: #5876
Change-Id: I45099a42de1d9611791e72250fe0edc69bed684c
Diffstat (limited to 'lib/sqlalchemy/testing')
| -rw-r--r-- | lib/sqlalchemy/testing/fixtures.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/fixtures.py b/lib/sqlalchemy/testing/fixtures.py index 62dd9040e..4b76e6d88 100644 --- a/lib/sqlalchemy/testing/fixtures.py +++ b/lib/sqlalchemy/testing/fixtures.py @@ -552,6 +552,7 @@ class DeclarativeMappedTest(MappedTest): metaclass=FindFixtureDeclarative, cls=DeclarativeBasic, ) + cls.DeclarativeBasic = _DeclBase # sets up cls.Basic which is helpful for things like composite |
