Skip to content

Commit

Permalink
Stabilized the artifact ordering during the compilation (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Apr 9, 2019
1 parent 52d7c7b commit 0a08617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/kfp/compiler/_op_to_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

import re
from collections import OrderedDict
from typing import Union, List, Any, Callable, TypeVar, Dict

from ._k8s_helper import K8sHelper
Expand Down Expand Up @@ -176,7 +177,7 @@ def _op_to_template(op: dsl.ContainerOp):
processed_op = _process_container_ops(op)

# default output artifacts
output_artifact_paths = {}
output_artifact_paths = OrderedDict()
output_artifact_paths.setdefault('mlpipeline-ui-metadata', '/mlpipeline-ui-metadata.json')
output_artifact_paths.setdefault('mlpipeline-metrics', '/mlpipeline-metrics.json')

Expand Down

0 comments on commit 0a08617

Please sign in to comment.