Skip to content

Commit 7a30cc6

Browse files
committed
cleanup
1 parent c8a9e7e commit 7a30cc6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,12 @@ async def get_v2(
135135
raise GroupExtraPropertiesNotFoundError(msg)
136136

137137
@staticmethod
138-
def _aggregate(rows, user_id, product_name, from_row: Callable):
138+
def _aggregate(
139+
rows, user_id, product_name, from_row: Callable
140+
) -> GroupExtraProperties:
139141
merged_standard_extra_properties = None
140142
for row in rows:
141-
group_extra_properties = from_row(row)
143+
group_extra_properties: GroupExtraProperties = from_row(row)
142144
match row.type:
143145
case GroupType.PRIMARY:
144146
# this always has highest priority

0 commit comments

Comments
 (0)