Skip to content

Commit 4fce507

Browse files
author
Andrey
committed
Black formating.
1 parent 4bd6bee commit 4fce507

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

brood/actions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,6 @@ def get_groups_for_user(
11801180
.all()
11811181
)
11821182

1183-
11841183
groups_response = []
11851184

11861185
for group in groups:

brood/api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,9 @@ async def get_groups_handler(
817817
"""
818818
groups_list: Optional[List[data.GroupUserResponse]] = []
819819
try:
820-
groups_list = actions.get_groups_for_user(db_session, user_id=current_user.id, include_metrics=include_metrics)
820+
groups_list = actions.get_groups_for_user(
821+
db_session, user_id=current_user.id, include_metrics=include_metrics
822+
)
821823
except Exception as e:
822824
logger.error(f"Error getting list of groups for user: {str(e)}")
823825
raise HTTPException(status_code=500)

0 commit comments

Comments
 (0)