app: we don't care about "number" for now

This commit is contained in:
bronsen 2026-02-25 21:31:54 +01:00
parent e5bb663ee8
commit 48bb3055f3
3 changed files with 3 additions and 6 deletions

View file

@ -91,9 +91,7 @@ async def load_initial_data(engine) -> Sequence[Teilchen]:
List of Teilchen, potentially empty
"""
with Session(engine) as session:
statement = select(
Teilchen.id, Teilchen.name, Teilchen.description, Teilchen.number, Teilchen.tags
) # ty:ignore[no-matching-overload]
statement = select(Teilchen.id, Teilchen.name, Teilchen.description, Teilchen.tags) # ty:ignore[no-matching-overload]
all_teilchen = session.exec(statement).all()
logger.debug("Loading initial data: found %s records", len(all_teilchen))