codestyle: remove unneeded hint for ty
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
bronsen 2026-02-16 21:11:58 +01:00
parent 63edd11aac
commit 9260c225e4
2 changed files with 2 additions and 2 deletions

View file

@ -77,6 +77,6 @@ async def load_initial_data() -> Sequence[Teilchen]:
with Session(engine) as session:
statement = select(
Teilchen.id, Teilchen.name, Teilchen.description, Teilchen.number, Teilchen.tags
)
) # ty:ignore[no-matching-overload]
all_teilchen = session.exec(statement).all()
return all_teilchen

View file

@ -48,7 +48,7 @@ class SearchResults(Widget):
async def on_mount(self) -> None:
table: DataTable[None] = self.query_one(DataTable[None])
_ = table.add_columns(*FAKE_DATA_HEADER)
_ = table.add_rows(await load_initial_data()) # ty:ignore[invalid-argument-type]
_ = table.add_rows(await load_initial_data())
class AddInventoryScreen(Screen[None]):