mirror of
https://github.com/abhi1693/openclaw-mission-control.git
synced 2026-08-14 01:07:51 +00:00
fix: mypy redundant cast in approval check
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user