Skip to content

Commit ca5cd7a

Browse files
fix
1 parent 73c8c92 commit ca5cd7a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/postgres-database/src/simcore_postgres_database/utils_comp_runs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import cast
2+
13
import sqlalchemy as sa
24
from pydantic import PositiveInt
35
from sqlalchemy.ext.asyncio import AsyncConnection, AsyncEngine
@@ -67,4 +69,4 @@ async def get_latest_run_id_for_project(
6769
row = result.one_or_none()
6870
if not row:
6971
raise ValueError("improve")
70-
return row.run_id
72+
return cast(PositiveInt, row.run_id)

0 commit comments

Comments
 (0)