Skip to content

Commit

Permalink
remove setting of metadata in Runner
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-ob committed Oct 18, 2024
1 parent b23f135 commit 5e709b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions metaflow/runner/metaflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from typing import Dict, Iterator, Optional, Tuple

from metaflow import Run, metadata
from metaflow import Run

from .utils import handle_timeout, clear_and_set_os_environ
from .subprocess_manager import CommandManager, SubprocessManager
Expand Down Expand Up @@ -284,10 +284,6 @@ def __get_executing_run(self, tfp_runner_attribute, command_obj):
# Set the environment variables to what they were before the run executed.
clear_and_set_os_environ(self.old_env)

# Set the correct metadata from the runner_attribute file corresponding to this run.
metadata_for_flow = content.get("metadata")
metadata(metadata_for_flow)

run_object = Run(pathspec, _namespace_check=False)
return ExecutingRun(self, command_obj, run_object)

Expand Down

0 comments on commit 5e709b4

Please sign in to comment.