Skip to content

Commit 8a7ba26

Browse files
authored
Remove version from docs (#583)
2 parents b619aea + e761833 commit 8a7ba26

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You have various options when installing ADS.
3232
To use the AI Forecast Operator, install the "forecast" dependencies using the following command:
3333

3434
```bash
35-
python3 -m pip install 'oracle_ads[forecast]==2.9.0'
35+
python3 -m pip install 'oracle_ads[forecast]>=2.9.0'
3636
```
3737

3838
### Installing extras libraries

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff 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

4652
def verify(spec: Dict, **kwargs: Dict) -> bool:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ forecast = [
181181
anomaly = [
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
]

0 commit comments

Comments
 (0)