Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-milea committed Feb 9, 2024
1 parent 7550934 commit 938f5be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/syft/src/syft/service/code/user_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,9 +1061,7 @@ def locate_launch_jobs(context: TransformContext) -> TransformContext:
raise Exception(user_codes.message)
# TODO: Not great
user_code = user_codes[-1]
user_code_link = LinkedObject.from_obj(
user_code, node_uid=context.node.id
)
user_code_link = LinkedObject.from_obj(user_code, node_uid=context.node.id)

nested_codes[call] = (user_code_link, user_code.nested_codes)
context.output["nested_codes"] = nested_codes
Expand Down

0 comments on commit 938f5be

Please sign in to comment.