]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
reverted changelog case change 9198/head
authorHarry Lees <harry.lees@gmail.com>
Tue, 31 Jan 2023 13:11:28 +0000 (13:11 +0000)
committerHarry Lees <harry.lees@gmail.com>
Tue, 31 Jan 2023 13:11:28 +0000 (13:11 +0000)
doc/build/changelog/migration_20.rst

index 604d59e083beaa8f60d2182d02f403700e0d062b..51e34955ee46328656eda5a41ad9c516121b172e 100644 (file)
@@ -471,7 +471,7 @@ are subject to these errors, as would occur in the example below::
         id: int = Column(Integer, primary_key=True)
 
         # will raise
-        bars: List["Bar"] = relationship("Bar", back_populates="foo")
+        bars: list["Bar"] = relationship("Bar", back_populates="foo")
 
 
     class Bar(Base):
@@ -519,7 +519,7 @@ that descend from ``Base``::
 
         id: int = Column(Integer, primary_key=True)
 
-        bars: List["Bar"] = relationship("Bar", back_populates="foo")
+        bars: list["Bar"] = relationship("Bar", back_populates="foo")
 
 
     class Bar(Base):