Skip to content

Commit 127cb12

Browse files
committed
feat: added option for api auth
1 parent 7fa1584 commit 127cb12

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/webapp/routers/data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ def get_support_overview(
11211121
dbc = DatabricksControl()
11221122
rows = dbc.fetch_table_data(
11231123
catalog_name=env_vars["CATALOG_NAME"],
1124-
schema_name=f"{query_result[0][0].name}_silver",
1124+
inst_name=f"{query_result[0][0].name}",
11251125
table_name=f"sample_inference_{run_id}_support_overview",
11261126
warehouse_id=env_vars["SQL_WAREHOUSE_ID"],
11271127
limit=500,
@@ -1164,7 +1164,7 @@ def get_feature_value(
11641164
dbc = DatabricksControl()
11651165
rows = dbc.fetch_table_data(
11661166
catalog_name=env_vars["CATALOG_NAME"],
1167-
schema_name=f"{query_result[0][0].name}_silver",
1167+
inst_name=f"{query_result[0][0].name}",
11681168
table_name=f"sample_inference_{run_id}_shap_feature_importance",
11691169
warehouse_id=env_vars["SQL_WAREHOUSE_ID"],
11701170
limit=500,
@@ -1207,7 +1207,7 @@ def get_confusion_matrix(
12071207
dbc = DatabricksControl()
12081208
rows = dbc.fetch_table_data(
12091209
catalog_name=env_vars["CATALOG_NAME"],
1210-
schema_name=f"{query_result[0][0].name}_silver",
1210+
inst_name=f"{query_result[0][0].name}",
12111211
table_name=f"sample_training_{run_id}_confusion_matrix",
12121212
warehouse_id=env_vars["SQL_WAREHOUSE_ID"],
12131213
limit=500,
@@ -1250,7 +1250,7 @@ def get_roc_curve(
12501250
dbc = DatabricksControl()
12511251
rows = dbc.fetch_table_data(
12521252
catalog_name=env_vars["CATALOG_NAME"],
1253-
schema_name=f"{query_result[0][0].name}_silver",
1253+
inst_name=f"{query_result[0][0].name}",
12541254
table_name=f"sample_training_{run_id}_roc_curve",
12551255
warehouse_id=env_vars["SQL_WAREHOUSE_ID"],
12561256
limit=500,

0 commit comments

Comments
 (0)