Skip to content

Commit 0771997

Browse files
committed
minor typo
1 parent c48ebaf commit 0771997

File tree

1 file changed

+3
-3
lines changed
  • ads/opctl/operator/lowcode/anomaly

1 file changed

+3
-3
lines changed

ads/opctl/operator/lowcode/anomaly/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from ads.opctl import logger
1111

12-
from .const import SupportedMetrics, SupportedModels
12+
from ..const import NonTimeADSupportedModels, SupportedMetrics, SupportedModels
1313
from .operator_config import AnomalyOperatorSpec
1414

1515

@@ -80,6 +80,6 @@ def default_signer(**kwargs):
8080

8181

8282
def select_auto_model(operator_config):
83-
if operator_config.spec.datetime_column.name is not None:
83+
if operator_config.spec.datetime_column is not None:
8484
return SupportedModels.AutoTS
85-
return SupportedModels.IsolationForest
85+
return NonTimeADSupportedModels.IsolationForest

0 commit comments

Comments
 (0)