Skip to content

Commit c0cc66f

Browse files
committed
roll back for support of min-version sqlalchemy
1 parent 69537a0 commit c0cc66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_model_name.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def test_mixin_attr(db: SQLAlchemy) -> None:
110110
"""
111111

112112
class Mixin:
113-
@sa_orm.declared_attr.directive
113+
@sa_orm.declared_attr # type: ignore[arg-type]
114114
def __tablename__(cls) -> str: # noqa: B902
115115
return cls.__name__.upper() # type: ignore[attr-defined,no-any-return]
116116

0 commit comments

Comments
 (0)