File tree 3 files changed +15
-3
lines changed
3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 22
22
SYSTEM_PIPELINE = "system.Pipeline"
23
23
SYSTEM_PIPELINE_RUN = "system.PipelineRun"
24
24
SYSTEM_METRICS = "system.Metrics"
25
+ GOOGLE_CLASSIFICATION_METRICS = "google.ClassificationMetrics"
26
+ GOOGLE_REGRESSION_METRICS = "google.RegressionMetrics"
27
+ GOOGLE_FORECASTING_METRICS = "google.ForecastingMetrics"
25
28
26
29
_EXPERIMENTS_V2_TENSORBOARD_RUN = "google.VertexTensorboardRun"
27
30
Original file line number Diff line number Diff line change @@ -639,10 +639,14 @@ def _query_experiment_row(
639
639
credentials = node .credentials ,
640
640
filter = metadata_utils ._make_filter_string (
641
641
in_context = [node .resource_name ],
642
- schema_title = metadata_constants .SYSTEM_METRICS ,
642
+ schema_title = [
643
+ metadata_constants .SYSTEM_METRICS ,
644
+ metadata_constants .GOOGLE_CLASSIFICATION_METRICS ,
645
+ metadata_constants .GOOGLE_REGRESSION_METRICS ,
646
+ metadata_constants .GOOGLE_FORECASTING_METRICS ,
647
+ ],
643
648
),
644
649
)
645
-
646
650
row = experiment_resources ._ExperimentRow (
647
651
experiment_run_type = node .schema_title , name = node .display_name
648
652
)
Original file line number Diff line number Diff line change @@ -1352,7 +1352,12 @@ def test_get_experiment_df(
1352
1352
1353
1353
expected_filter = metadata_utils ._make_filter_string (
1354
1354
in_context = [_TEST_PIPELINE_CONTEXT .name ],
1355
- schema_title = constants .SYSTEM_METRICS ,
1355
+ schema_title = [
1356
+ constants .SYSTEM_METRICS ,
1357
+ constants .GOOGLE_CLASSIFICATION_METRICS ,
1358
+ constants .GOOGLE_REGRESSION_METRICS ,
1359
+ constants .GOOGLE_FORECASTING_METRICS ,
1360
+ ],
1356
1361
)
1357
1362
1358
1363
list_artifact_mock_for_experiment_dataframe .assert_has_calls (
You can’t perform that action at this time.
0 commit comments