We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4d997 commit 4db778dCopy full SHA for 4db778d
packages/postgres-database/src/simcore_postgres_database/utils_tags_sql.py
@@ -9,6 +9,7 @@
9
from simcore_postgres_database.models.tags_access_rights import tags_access_rights
10
from simcore_postgres_database.models.users import users
11
from sqlalchemy.dialects.postgresql import insert as pg_insert
12
+from sqlalchemy.sql.selectable import ScalarSelect
13
from typing_extensions import TypedDict
14
15
_TAG_COLUMNS = [
@@ -245,6 +246,8 @@ def upsert_tags_access_rights_stmt(
245
246
assert not (user_id is None and group_id is None) # nosec
247
assert not (user_id is not None and group_id is not None) # nosec
248
249
+ target_group_id: int | ScalarSelect
250
+
251
if user_id:
252
assert not group_id # nosec
253
target_group_id = (
0 commit comments