flask-sqlalchemy icon indicating copy to clipboard operation
flask-sqlalchemy copied to clipboard

tests: MappedAsDataclass - skip table binding

Open javacruft opened this issue 8 months ago • 0 comments

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 https://github.com/sqlalchemy/sqlalchemy/commit/6ae7f2378971b16f024eb5ab851cc4533bc4e61a for associated behaviour change in SQLAlchemy

javacruft avatar Feb 14 '25 09:02 javacruft