Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: MappedAsDataclass - skip table binding #1384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

javacruft
Copy link

With SQLAlchemy 2.0.36 mapping as a dataclass while also providing a __table__ attribute is not supported.

Skip associated test when MappedAsDataclass is in use.

Fixes: #1378

See sqlalchemy/sqlalchemy@6ae7f23 for associated behaviour change in SQLAlchemy

With SQLAlchemy 2.0.36 mapping as a dataclass while also providing
a ``__table__`` attribute is not supported.

Skip associated test when ``MappedAsDataclass`` is in use.

Fixes: pallets-eco#1378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

test_explicit_table[db2,db4] failing with sqlalchemy 2.0.36
1 participant