Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmerlo committed Dec 3, 2024
1 parent e03d88d commit 9746eda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/apps/activities/api/activities.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,6 @@ async def applet_activities_counters_for_subject(

all_assigned_ids = set(assigned_activities.activities.keys()).union(auto_activity_ids)

activities_or_flows_ids_with_submissions = set(submitted_activities.activities.keys())

activities_or_flows_ids_without_submissions = all_assigned_ids.difference(activities_or_flows_ids_with_submissions)

activities_counters = ActivitiesCounters(subject_id=subject_id)

for activity_or_flow_id in submitted_activities.activities:
Expand Down
3 changes: 2 additions & 1 deletion src/apps/activities/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@

router.get(
"/applet/{applet_id}/subject/{subject_id}/counters",
description="""Get number of submissions and participants for activities and activity flows associated with the given participant, either as respondent or target subject.
description="""Get number of submissions and participants for activities and activity
flows associated with the given participant, either as respondent or target subject.
""",
status_code=status.HTTP_200_OK,
responses={
Expand Down

0 comments on commit 9746eda

Please sign in to comment.