Skip to content

Commit

Permalink
Merge pull request #8675 from OpenMined/fix-code-history-removal
Browse files Browse the repository at this point in the history
fix removal
  • Loading branch information
koenvanderveen authored Apr 5, 2024
2 parents 5443a86 + d381bff commit a3fbcd1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/syft/src/syft/service/code/user_code_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ def _request_code_execution(
_ = context.node.get_service("usercodestatusservice").remove(
root_context, user_code.status_link.object_uid
)
_ = context.node.get_service("codehistoryservice").delete(
root_context, user_code.version_link.object_uid
)
return result
result = self._request_code_execution_inner(context, user_code, reason)
return result
Expand Down

0 comments on commit a3fbcd1

Please sign in to comment.