Skip to content

Commit

Permalink
Remove an unneeded code change
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Traverse committed Oct 31, 2024
1 parent 7a7fa49 commit f892a07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tracdap-runtime/python/src/tracdap/rt/_exec/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def _execute(self, ctx: NodeContext) -> Bundle[_data.DataView]:

new_nodes[result_node_id] = result_node

output_section = _graph.GraphBuilder.build_runtime_outputs(self.node.id.namespace, dynamic_outputs)
output_section = _graph.GraphBuilder.build_runtime_outputs(dynamic_outputs, self.node.id.namespace)
new_nodes.update(output_section.nodes)

ctx_id = NodeId.of("trac_job_result", self.node.id.namespace, result_type=None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def build_job_outputs(
return GraphSection(nodes, inputs=inputs)

@classmethod
def build_runtime_outputs(cls, job_namespace: NodeNamespace, output_names: tp.List[str]):
def build_runtime_outputs(cls, output_names: tp.List[str], job_namespace: NodeNamespace):

# This method is called dynamically during job execution
# So it cannot use stateful information like self._job_config or self._job_namespace
Expand Down

0 comments on commit f892a07

Please sign in to comment.