From df2f4f3246962baa52f6b6c99a10d5ba5b4939f6 Mon Sep 17 00:00:00 2001 From: zwitschi Date: Thu, 4 Jun 2026 22:30:38 +0200 Subject: [PATCH] fix: update type hint for _build_section_from_row to support tuple with Any --- src/arbitrade/storage/repositories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arbitrade/storage/repositories.py b/src/arbitrade/storage/repositories.py index ca7e15a..a7240ec 100644 --- a/src/arbitrade/storage/repositories.py +++ b/src/arbitrade/storage/repositories.py @@ -421,7 +421,7 @@ class ConfigSectionRepository: return ConfigSection(id=row[0], name=row[1], description=row[2], updated_at=row[3]) return None - def _build_section_from_row(self, row: tuple) -> ConfigSection: + def _build_section_from_row(self, row: tuple[Any, ...]) -> ConfigSection: return ConfigSection(id=row[0], name=row[1], description=row[2], updated_at=row[3]) def list_sections(self) -> list[ConfigSection]: