]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix mypy test
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Aug 2022 15:45:09 +0000 (11:45 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 2 Aug 2022 15:45:09 +0000 (11:45 -0400)
this change seems to be from 2.0 in
4fe222d9412df30fc15ace3d7a however does not apply to 1.4.

Change-Id: Ie736afaf18abf048f4bf5f5266e76aefa98e4e80

test/ext/mypy/files/typing_err3.py

index 3fd1f86ff60530e435b1c63c6518c4cb45f3a934..a81ea067c79223239bf4cd38805774b66fb99f0f 100644 (file)
@@ -22,6 +22,8 @@ class User(Base):
 
     id = Column(Integer, primary_key=True)
 
+    # note this goes away in 2.0 for the moment
+    # EXPECTED_MYPY: Unexpected keyword argument "wrong_arg" for "RelationshipProperty" # noqa
     addresses: Mapped[List["Address"]] = relationship(
         "Address", wrong_arg="imwrong"
     )