fix: update type hint for _build_section_from_row to support tuple with Any
CI / lint-test-build (push) Successful in 1m6s
CI / lint-test-build (push) Successful in 1m6s
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user