fix: update type hint for _build_section_from_row to support tuple with Any
CI / lint-test-build (push) Successful in 1m6s

This commit is contained in:
2026-06-04 22:30:38 +02:00
parent 8cfd969dae
commit df2f4f3246
+1 -1
View File
@@ -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]: