Skip to content

Commit

Permalink
Renamed task_id_placeholder to execution_id_placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark-kun committed Sep 25, 2019
1 parent bafd4a5 commit 2e3618b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/sample/keras/train_classifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ training_set_labels_gcs_path = os.path.join(input_data_gcs_dir, 'training_set_la
gfile.Copy(training_set_features_local_path, training_set_features_gcs_path)
gfile.Copy(training_set_labels_local_path, training_set_labels_gcs_path)

output_model_uri_template = os.path.join(output_data_gcs_dir, kfp.dsl.task_id_placeholder, 'output_model_uri', 'data')
output_model_uri_template = os.path.join(output_data_gcs_dir, kfp.dsl.execution_id_placeholder, 'output_model_uri', 'data')

xor_model_config = requests.get(test_data_url_prefix + 'model_config.json').content

Expand Down
2 changes: 1 addition & 1 deletion samples/core/xgboost_training_cm/xgboost_training_cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def xgb_train_pipeline(
workers=2,
true_label='ACTION',
):
output_template = str(output) + '/' + dsl.task_id_placeholder + '/data'
output_template = str(output) + '/' + dsl.execution_id_placeholder + '/data'

delete_cluster_op = dataproc_delete_cluster_op(
project,
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kfp/dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
from ._component import python_component, graph_component, component
from ._artifact_location import ArtifactLocation

task_id_placeholder = '{{workflow.uid}}-{{pod.name}}'
execution_id_placeholder = '{{workflow.uid}}-{{pod.name}}'
run_id_placeholder = '{{workflow.uid}}'

0 comments on commit 2e3618b

Please sign in to comment.