fix: mypy redundant cast in approval check

This commit is contained in:
Abhimanyu Saharan
2026-02-15 06:15:41 +00:00
parent 11b2d9a968
commit 2a923f2c32
@@ -107,8 +107,7 @@ async def _tasks_for_pr_url(
.where(col(TaskCustomFieldDefinition.field_key) == "github_pr_url")
.order_by(col(Task.created_at).asc())
)
raw_rows = list(await session.exec(statement))
rows = cast(list[tuple[Task, object]], raw_rows)
rows = list(await session.exec(statement))
tasks: list[Task] = []
for task, value in rows: