Skip to content

Commit f3953bc

Browse files
authored
fix: update default anomaly detector version to compatible non-preview (#2280)
1 parent 478e8a2 commit f3953bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cognitive/src/main/scala/com/microsoft/azure/synapse/ml/services/anomaly/AnomalyDetection.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class DetectLastAnomaly(override val uid: String) extends AnomalyDetectorBase(ui
160160

161161
def setSeriesCol(v: String): this.type = setVectorParam(series, v)
162162

163-
def urlPath: String = "/anomalydetector/v1.1-preview.1/timeseries/last/detect"
163+
def urlPath: String = "/anomalydetector/v1.1/timeseries/last/detect"
164164

165165
override def responseDataType: DataType = ADLastResponse.schema
166166

@@ -181,7 +181,7 @@ class DetectAnomalies(override val uid: String) extends AnomalyDetectorBase(uid)
181181

182182
def setSeriesCol(v: String): this.type = setVectorParam(series, v)
183183

184-
def urlPath: String = "/anomalydetector/v1.1-preview.1/timeseries/entire/detect"
184+
def urlPath: String = "/anomalydetector/v1.1/timeseries/entire/detect"
185185

186186
override def responseDataType: DataType = ADEntireResponse.schema
187187

@@ -281,7 +281,7 @@ class SimpleDetectAnomalies(override val uid: String) extends AnomalyDetectorBas
281281

282282
}
283283

284-
def urlPath: String = "/anomalydetector/v1.1-preview.1/timeseries/entire/detect"
284+
def urlPath: String = "/anomalydetector/v1.1/timeseries/entire/detect"
285285

286286
override def responseDataType: DataType = ADEntireResponse.schema
287287

0 commit comments

Comments
 (0)