From c884d747caec087cc4f4c1421d993a1817d3df72 Mon Sep 17 00:00:00 2001 From: Zander <6073079+awmatheson@users.noreply.github.com> Date: Wed, 25 Mar 2020 15:54:51 -0400 Subject: [PATCH] CamelCase to snake_case changing to snake_case --- code/main.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/main.py b/code/main.py index fd09124..1fda1d8 100644 --- a/code/main.py +++ b/code/main.py @@ -128,9 +128,9 @@ def main(): # Create outputs print("::debug::Creating outputs") - print(f"::set-output name=experimentName::{run.experiment.name}") - print(f"::set-output name=runId::{run.id}") - print(f"::set-output name=runUrl::{run.get_portal_url()}") + print(f"::set-output name=experiment_name::{run.experiment.name}") + print(f"::set-output name=run_id::{run.id}") + print(f"::set-output name=run_url::{run.get_portal_url()}") # Waiting for run to complete print("::debug::Waiting for run to complete") @@ -139,7 +139,7 @@ def main(): # Creating additional outputs of finished run run_metrics = run.get_metrics(recursive=True) - print(f"::set-output name=runMetrics::{run_metrics}") + print(f"::set-output name=run_metrics::{run_metrics}") # Publishing pipeline print("::debug::Publishing pipeline") @@ -162,9 +162,9 @@ def main(): # Creating additional outputs run_metrics = run.get_metrics(recursive=True) - print(f"::set-output name=publishedPipelineId::{published_pipeline.id}") - print(f"::set-output name=publishedPipelineStatus::{published_pipeline.status}") - print(f"::set-output name=publishedPipelineEndpoint::{published_pipeline.endpoint}") + print(f"::set-output name=published_pipeline_id::{published_pipeline.id}") + print(f"::set-output name=published_pipeline_status::{published_pipeline.status}") + print(f"::set-output name=published_pipeline_endpoint::{published_pipeline.endpoint}") elif parameters.get("publish_pipeline", False): print(f"::error::Could not register pipeline because you did not pass a pipeline to the action")