Skip to content

Commit 0dcf1b8

Browse files
committed
remove ref to datapane
1 parent b02a3d6 commit 0dcf1b8

File tree

14 files changed

+18
-26
lines changed

14 files changed

+18
-26
lines changed

ads/opctl/operator/lowcode/anomaly/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ All generated configurations should be ready to use without the need for any add
3535
To run anomaly detection locally, create and activate a new conda environment (`ads-anomaly`). Install all the required libraries listed in the `environment.yaml` file.
3636

3737
```yaml
38-
- datapane
38+
- report-creator
3939
- cerberus
4040
- oracle-automlx==23.4.1
4141
- oracle-automlx[classic]==23.4.1

ads/opctl/operator/lowcode/anomaly/environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.8
66
- pip
77
- pip:
8-
- datapane
8+
- report-creator
99
- cerberus
1010
- oracle-automlx==23.4.1
1111
- oracle-automlx[classic]==23.4.1

ads/opctl/operator/lowcode/anomaly/model/base_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def _save_report(
255255
else:
256256
storage_options = dict()
257257

258-
# datapane html report
258+
# report-creator html report
259259
with tempfile.TemporaryDirectory() as temp_dir:
260260
report_local_path = os.path.join(temp_dir, "___report.html")
261261
disable_print()

ads/opctl/operator/lowcode/forecast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To run forecasting locally, create and activate a new conda environment (`ads-fo
3535
- neuralprophet
3636
- pmdarima
3737
- statsmodels
38-
- datapane
38+
- report-creator
3939
- cerberus
4040
- sktime
4141
- optuna==3.1.0

ads/opctl/operator/lowcode/forecast/environment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ dependencies:
1010
- neuralprophet
1111
- pmdarima
1212
- statsmodels
13-
- datapane
13+
- report-creator
1414
- cerberus
1515
- sktime
1616
- shap
1717
- autots[additional]
18-
- optuna==3.1.0
19-
- oracle-automlx==23.4.1
20-
- oracle-automlx[forecasting]==23.4.1
18+
- optuna
19+
- oracle-automlx>=23.4.1
20+
- oracle-automlx[forecasting]>=23.4.1
2121
- fire

ads/opctl/operator/lowcode/forecast/model/automlx.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ def _build_model(self) -> pd.DataFrame:
172172
return self.forecast_output.get_forecast_long()
173173

174174
@runtime_dependency(
175-
module="datapane",
175+
module="report-creator",
176176
err_msg=(
177-
"Please run `pip3 install datapane` to install the required dependencies for report generation."
177+
"Please run `pip3 install report-creator` to install the required dependencies for report generation."
178178
),
179179
)
180180
def _generate_report(self):
@@ -187,8 +187,8 @@ def _generate_report(self):
187187
188188
Returns
189189
-------
190-
- model_description (datapane.Text): A Text component containing the description of the automlx model.
191-
- other_sections (List[Union[datapane.Text, datapane.Blocks]]): A list of Text and Blocks components representing various sections of the report.
190+
- model_description (report-creator.Text): A Text component containing the description of the automlx model.
191+
- other_sections (List[Union[report-creator.Text, report-creator.Block]]): A list of Text and Blocks components representing various sections of the report.
192192
- forecast_col_name (str): The name of the forecasted column.
193193
- train_metrics (bool): A boolean value indicating whether to include train metrics in the report.
194194
- ds_column_series (pd.Series): The pd.Series object representing the datetime column of the dataset.

ads/opctl/operator/lowcode/forecast/model/base_model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,8 @@ def _save_report(
417417
else:
418418
storage_options = dict()
419419

420-
# datapane html report
420+
# report-creator html report
421421
if self.spec.generate_report:
422-
# datapane html report
423422
with tempfile.TemporaryDirectory() as temp_dir:
424423
report_local_path = os.path.join(temp_dir, "___report.html")
425424
# disable_print()

ads/opctl/operator/lowcode/pii/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ To run pii operator locally, create and activate a new conda environment (`ads-p
3333

3434
```yaml
3535
- aiohttp
36-
- datapane
36+
- report-creator
3737
- gender_guesser
3838
- nameparser
3939
- oracle_ads[opctl]

ads/opctl/operator/lowcode/pii/environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- pip
77
- pip:
88
- aiohttp
9-
- datapane
9+
- report-creator
1010
- gender_guesser
1111
- nameparser
1212
- oracle_ads[opctl]

ads/opctl/operator/lowcode/pii/model/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import report_creator as rc
4343
except ImportError:
4444
raise ModuleNotFoundError(
45-
f"`datapane` module was not found. Please run "
45+
f"`report-creator` module was not found. Please run "
4646
f"`pip install {OptionalDependency.PII}`."
4747
)
4848

0 commit comments

Comments
 (0)