this fail only occurs:
1. with python 3.13 (maybe earlier also?)
2. in the 2.0 branch. identical code is in main and does not fail
(identical flake8 settings too)
can't narrow down why this one occurs but it's failing
GH actions so just patch it
Change-Id: Ib1655856e0363b9dc365e093a86eecc75e5d783c
BigInteger, Identity(always=True), primary_key=True
)
- bs: Mapped[list[B]] = relationship(back_populates="a")
+ bs: Mapped[list[B]] = relationship( # noqa: F821
+ back_populates="a"
+ )
- def __init__(self, bs: list[B], *args, **kwargs):
+ def __init__(self, bs: list[B], *args, **kwargs): # noqa: F821
super().__init__(*args, bs=bs, **kwargs)
class B(decl_base):
BigInteger, Identity(always=True), primary_key=True
)
- bs: Mapped[list[B]] = relationship(back_populates="a")
+ bs: Mapped[list[B]] = relationship( # noqa: F821
+ back_populates="a"
+ )
- def __init__(self, bs: list[B], *args, **kwargs):
+ def __init__(self, bs: list[B], *args, **kwargs): # noqa: F821
super().__init__(*args, bs=bs, **kwargs)
class B(decl_base):