From 7c095fb75f157566dfe402c3aab52152c6b3a637 Mon Sep 17 00:00:00 2001 From: JessicaXYWang <108437381+JessicaXYWang@users.noreply.github.com> Date: Mon, 4 Dec 2023 17:03:50 -0800 Subject: [PATCH] fix style --- .../com/microsoft/azure/synapse/ml/services/openai/OpenAI.scala | 2 +- .../microsoft/azure/synapse/ml/io/http/HTTPTransformer.scala | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cognitive/src/main/scala/com/microsoft/azure/synapse/ml/services/openai/OpenAI.scala b/cognitive/src/main/scala/com/microsoft/azure/synapse/ml/services/openai/OpenAI.scala index 32c146ff9c..ac0e08beaf 100644 --- a/cognitive/src/main/scala/com/microsoft/azure/synapse/ml/services/openai/OpenAI.scala +++ b/cognitive/src/main/scala/com/microsoft/azure/synapse/ml/services/openai/OpenAI.scala @@ -246,4 +246,4 @@ trait HasOpenAITextParams extends HasOpenAISharedParams { abstract class OpenAIServicesBase(override val uid: String) extends CognitiveServicesBase(uid: String) { setDefault(timeout -> 360.0) -} \ No newline at end of file +} diff --git a/core/src/main/scala/com/microsoft/azure/synapse/ml/io/http/HTTPTransformer.scala b/core/src/main/scala/com/microsoft/azure/synapse/ml/io/http/HTTPTransformer.scala index 60699c4287..8d942e34b1 100644 --- a/core/src/main/scala/com/microsoft/azure/synapse/ml/io/http/HTTPTransformer.scala +++ b/core/src/main/scala/com/microsoft/azure/synapse/ml/io/http/HTTPTransformer.scala @@ -73,9 +73,7 @@ trait ConcurrencyParams extends Wrappable { case Some(v) => setConcurrentTimeout(v) case None => clear(concurrentTimeout) } - setDefault(concurrency -> 1, timeout -> 60.0) - } trait HasURL extends Params {