Skip to content

Commit 4db778d

Browse files
committed
mypy
1 parent 6e4d997 commit 4db778d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from simcore_postgres_database.models.tags_access_rights import tags_access_rights
1010
from simcore_postgres_database.models.users import users
1111
from sqlalchemy.dialects.postgresql import insert as pg_insert
12+
from sqlalchemy.sql.selectable import ScalarSelect
1213
from typing_extensions import TypedDict
1314

1415
_TAG_COLUMNS = [
@@ -245,6 +246,8 @@ def upsert_tags_access_rights_stmt(
245246
assert not (user_id is None and group_id is None) # nosec
246247
assert not (user_id is not None and group_id is not None) # nosec
247248

249+
target_group_id: int | ScalarSelect
250+
248251
if user_id:
249252
assert not group_id # nosec
250253
target_group_id = (

0 commit comments

Comments
 (0)