File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
ads/opctl/operator/lowcode/anomaly Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ You have various options when installing ADS.
3232To use the AI Forecast Operator, install the "forecast" dependencies using the following command:
3333
3434``` bash
35- python3 -m pip install ' oracle_ads[forecast]'
35+ python3 -m pip install ' oracle_ads[forecast]>=2.9.0 '
3636```
3737
3838### Installing extras libraries
Original file line number Diff line number Diff line change @@ -36,11 +36,17 @@ def operate(operator_config: AnomalyOperatorConfig) -> None:
3636 operator_config .spec .model = "autots"
3737 operator_config .spec .model_kwargs = dict ()
3838 datasets = AnomalyDatasets (operator_config .spec )
39- AnomalyOperatorModelFactory .get_model (
40- operator_config , datasets
41- ).generate_report ()
39+ try :
40+ AnomalyOperatorModelFactory .get_model (
41+ operator_config , datasets
42+ ).generate_report ()
43+ except Exception as e2 :
44+ logger .debug (
45+ f"Failed to backup forecast with error { e2 .args } . Raising original error."
46+ )
47+ raise e
4248 else :
43- raise
49+ raise e
4450
4551
4652def verify (spec : Dict , ** kwargs : Dict ) -> bool :
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ forecast = [
181181anomaly = [
182182 " oracle_ads[opctl]" ,
183183 " autots" ,
184- " oracle-automlx[anomaly ]==23.2.3" ,
184+ " oracle-automlx[forecasting ]==23.2.3" ,
185185 " oracledb" ,
186186 " datapane" ,
187187]
You can’t perform that action at this time.
0 commit comments