Skip to content

Commit

Permalink
use rsplit instead of split
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-ob committed May 25, 2024
1 parent f06dc1e commit 62e4f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow/runner/metaflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __get_executing_run(self, tfp_runner_attribute, command_obj):

# Set the correct metadata from the runner_attribute file corresponding to this run.
content = read_from_file_when_ready(tfp_runner_attribute.name, timeout=10)
metadata_for_flow, pathspec = content.split(":", maxsplit=1)
metadata_for_flow, pathspec = content.rsplit(":", maxsplit=1)
metadata(metadata_for_flow)
run_object = Run(pathspec, _namespace_check=False)
return ExecutingRun(self, command_obj, run_object)
Expand Down

0 comments on commit 62e4f32

Please sign in to comment.