Skip to content

Commit

Permalink
Add comment for copy
Browse files Browse the repository at this point in the history
  • Loading branch information
maximusunc committed Jul 21, 2023
1 parent 6ec7944 commit dc261cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strider/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ async def lookup(

results = Results.parse_obj([])
for result in output_results.values():
# copy so result analyses don't get combined somehow
result = copy.deepcopy(result)
if len(result.analyses) > 1:
result.combine_analyses_by_resource_id()
Expand Down

0 comments on commit dc261cc

Please sign in to comment.