From 4d8dbcae07ee0e96f374d6da8b67afc3708105b1 Mon Sep 17 00:00:00 2001 From: Ivan Cheung Date: Sat, 16 Jan 2021 02:25:05 +0900 Subject: [PATCH] fix: Wrote inputs as string to facilitate parsing (#480) Co-authored-by: Ivan Cheung --- automl/tables/predict.v1beta1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automl/tables/predict.v1beta1.js b/automl/tables/predict.v1beta1.js index c90760aaddf..5954004136d 100644 --- a/automl/tables/predict.v1beta1.js +++ b/automl/tables/predict.v1beta1.js @@ -17,7 +17,7 @@ async function main( projectId = 'YOUR_GCP_PROJECT_ID', computeRegion = 'REGION', modelId = 'YOUR_MODEL_ID', - inputs = [{numberValue: 1}, {stringValue: 'value'}] + inputs = '[{"numberValue": 1}, {"stringValue": "value"}]' ) { // [START automl_tables_predict]