Skip to content

Commit

Permalink
Update src/apps/activity_assignments/crud/assignments.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kenroy Gobourne <[email protected]>
  • Loading branch information
rcmerlo and sultanofcardio authored Aug 20, 2024
1 parent 4186e03 commit f0b3a50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/activity_assignments/crud/assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ async def get_by_applet(self, applet_id: uuid.UUID, query_params: QueryParams) -
async def get_by_applet_and_respondent(
self, applet_id: uuid.UUID, respondent_subject_id: uuid.UUID
) -> list[ActivityAssigmentSchema]:
respondentSchema = aliased(SubjectSchema)
targetSchema = aliased(SubjectSchema)
respondent_schema = aliased(SubjectSchema)
target_schema = aliased(SubjectSchema)
query = (
select(ActivityAssigmentSchema)
.outerjoin(ActivitySchema, ActivitySchema.id == ActivityAssigmentSchema.activity_id)
Expand Down

0 comments on commit f0b3a50

Please sign in to comment.