codestyle: remove unhelpful type hints

This commit is contained in:
bronsen 2026-02-22 19:04:46 +01:00
parent aecd10115e
commit 1fdf5cb1d3

View file

@ -1,7 +1,7 @@
from teilchensammler_cli.database import create_db_and_tables
from sqlalchemy.sql import text
import uuid
from typing import Generator, Sequence
from typing import Generator
import pytest
from sqlalchemy import Engine
@ -147,7 +147,7 @@ def teilchen_in_db(app_db: Engine) -> Generator[Teilchen]:
async def test_loadinitialdata_returns_expected_data(app_db: Engine, db_teilchen: Teilchen):
all_data: Sequence[tuple] = await load_initial_data(app_db)
all_data = await load_initial_data(app_db)
assert len(all_data) == 1
fetched_data: tuple = all_data[0]