Skip to content

Commit

Permalink
Updated get function
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Nov 7, 2023
1 parent c0306f7 commit 63b0d1e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/api/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,7 @@ async def get(
by=dataset_cols
):
if util.RETURN_AGG.val:
subject_data = list(
{"session_file_path": file_path}
for file_path in group["session_file_path"].dropna()
)
subject_data = "protected"
else:
subject_data = (
group.drop(dataset_cols, axis=1)
Expand Down

0 comments on commit 63b0d1e

Please sign in to comment.