Skip to content

Commit

Permalink
change api input to camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMichaelHu committed May 26, 2022
1 parent 1197b75 commit 40a443b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions google/cloud/aiplatform/training_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"groupTemporalTotalWeight": _TEST_HIERARCHY_GROUP_TEMPORAL_TOTAL_WEIGHT,
},
"windowConfig": {
"stride_length": _TEST_WINDOW_STRIDE_LENGTH,
"strideLength": _TEST_WINDOW_STRIDE_LENGTH,
},
}

Expand Down

0 comments on commit 40a443b

Please sign in to comment.