From 0e31192b0597a11176f42bf539733b26b5f59d29 Mon Sep 17 00:00:00 2001 From: Michael Hu Date: Thu, 26 May 2022 10:21:52 -0400 Subject: [PATCH] change api input to camelcase --- google/cloud/aiplatform/training_jobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google/cloud/aiplatform/training_jobs.py b/google/cloud/aiplatform/training_jobs.py index 0a04750c84..35c3fa35c3 100644 --- a/google/cloud/aiplatform/training_jobs.py +++ b/google/cloud/aiplatform/training_jobs.py @@ -4687,8 +4687,8 @@ def _create_window_config( """Creates a window config from training job arguments.""" configs = { "column": column, - "stride_length": stride_length, - "max_count": max_count, + "strideLength": stride_length, + "maxCount": max_count, } present_configs = {k: v for k, v in configs.items() if v is not None} if not present_configs: