@@ -1028,12 +1028,12 @@ def get_upload_url(
10281028def get_top_features (
10291029 inst_id : str ,
10301030 run_id : str ,
1031- current_user : Annotated [BaseUser , Depends (get_current_active_user )],
1031+ # current_user: Annotated[BaseUser, Depends(get_current_active_user)],
10321032 sql_session : Annotated [Session , Depends (get_session )],
10331033) -> List [dict [str , Any ]]:
10341034 """Returns a signed URL for uploading data to a specific institution."""
10351035 # raise error at this level instead bc otherwise it's getting wrapped as a 200
1036- has_access_to_inst_or_err (inst_id , current_user )
1036+ # has_access_to_inst_or_err(inst_id, current_user)
10371037 local_session .set (sql_session )
10381038 query_result = (
10391039 local_session .get ()
@@ -1072,12 +1072,12 @@ def get_top_features(
10721072def get_support_overview (
10731073 inst_id : str ,
10741074 run_id : str ,
1075- current_user : Annotated [BaseUser , Depends (get_current_active_user )],
1075+ # current_user: Annotated[BaseUser, Depends(get_current_active_user)],
10761076 sql_session : Annotated [Session , Depends (get_session )],
10771077) -> List [dict [str , Any ]]:
10781078 """Returns a signed URL for uploading data to a specific institution."""
10791079 # raise error at this level instead bc otherwise it's getting wrapped as a 200
1080- has_access_to_inst_or_err (inst_id , current_user )
1080+ # has_access_to_inst_or_err(inst_id, current_user)
10811081 local_session .set (sql_session )
10821082 query_result = (
10831083 local_session .get ()
@@ -1115,12 +1115,12 @@ def get_support_overview(
11151115def get_feature_value (
11161116 inst_id : str ,
11171117 run_id : str ,
1118- current_user : Annotated [BaseUser , Depends (get_current_active_user )],
1118+ # current_user: Annotated[BaseUser, Depends(get_current_active_user)],
11191119 sql_session : Annotated [Session , Depends (get_session )],
11201120) -> List [dict [str , Any ]]:
11211121 """Returns a signed URL for uploading data to a specific institution."""
11221122 # raise error at this level instead bc otherwise it's getting wrapped as a 200
1123- has_access_to_inst_or_err (inst_id , current_user )
1123+ # has_access_to_inst_or_err(inst_id, current_user)
11241124 local_session .set (sql_session )
11251125 query_result = (
11261126 local_session .get ()
@@ -1158,12 +1158,12 @@ def get_feature_value(
11581158def get_confusion_matrix (
11591159 inst_id : str ,
11601160 run_id : str ,
1161- current_user : Annotated [BaseUser , Depends (get_current_active_user )],
1161+ ## current_user: Annotated[BaseUser, Depends(get_current_active_user)],
11621162 sql_session : Annotated [Session , Depends (get_session )],
11631163) -> List [dict [str , Any ]]:
11641164 """Returns a signed URL for uploading data to a specific institution."""
11651165 # raise error at this level instead bc otherwise it's getting wrapped as a 200
1166- has_access_to_inst_or_err (inst_id , current_user )
1166+ # has_access_to_inst_or_err(inst_id, current_user)
11671167 local_session .set (sql_session )
11681168 query_result = (
11691169 local_session .get ()
@@ -1201,12 +1201,12 @@ def get_confusion_matrix(
12011201def get_roc_curve (
12021202 inst_id : str ,
12031203 run_id : str ,
1204- current_user : Annotated [BaseUser , Depends (get_current_active_user )],
1204+ # current_user: Annotated[BaseUser, Depends(get_current_active_user)],
12051205 sql_session : Annotated [Session , Depends (get_session )],
12061206) -> List [dict [str , Any ]]:
12071207 """Returns a signed URL for uploading data to a specific institution."""
12081208 # raise error at this level instead bc otherwise it's getting wrapped as a 200
1209- has_access_to_inst_or_err (inst_id , current_user )
1209+ # has_access_to_inst_or_err(inst_id, current_user)
12101210 local_session .set (sql_session )
12111211 query_result = (
12121212 local_session .get ()
0 commit comments