Skip to content

Commit dfda292

Browse files
committed
fixes mypy
1 parent 8384a3d commit dfda292

File tree

1 file changed

+2
-2
lines changed
  • packages/postgres-database/src/simcore_postgres_database

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import secrets
77
import string
88
from datetime import datetime
9-
from typing import Final
9+
from typing import Any, Final
1010

1111
import sqlalchemy as sa
1212
from aiopg.sa.connection import SAConnection
@@ -61,7 +61,7 @@ async def new_user(
6161
status: UserStatus,
6262
expires_at: datetime | None,
6363
) -> RowProxy:
64-
data = {
64+
data: dict[str, Any] = {
6565
"name": _generate_username_from_email(email),
6666
"email": email,
6767
"password_hash": password_hash,

0 commit comments

Comments
 (0)