@@ -543,8 +543,7 @@ def delete_folder(
543543 return None
544544 else :
545545 raise RuntimeError (
546- f"Deletion of folder '{ folder_path } ' failed, "
547- "folder does not exist."
546+ f"Deletion of folder '{ folder_path } ' failed, folder does not exist."
548547 )
549548
550549 params : dict [str , bool ] = {"runs" : True } if remove_runs else {}
@@ -906,8 +905,7 @@ def get_artifacts_as_files(
906905 future .result ()
907906 except Exception as e :
908907 raise RuntimeError (
909- f"Download of file { download ['url' ]} "
910- f"failed with exception: { e } "
908+ f"Download of file { download ['url' ]} failed with exception: { e } "
911909 )
912910
913911 @prettify_pydantic
@@ -1063,7 +1061,7 @@ def _get_run_metrics_from_server(
10631061
10641062 json_response = self ._get_json_from_response (
10651063 expected_status = [http .HTTPStatus .OK ],
1066- scenario = f"Retrieval of metrics '{ metric_names } ' in " f" runs '{ run_ids } '" ,
1064+ scenario = f"Retrieval of metrics '{ metric_names } ' in runs '{ run_ids } '" ,
10671065 response = metrics_response ,
10681066 )
10691067
@@ -1235,8 +1233,7 @@ def plot_metrics(
12351233
12361234 if data is None :
12371235 raise RuntimeError (
1238- f"Cannot plot metrics { metric_names } , "
1239- f"no data found for runs { run_ids } ."
1236+ f"Cannot plot metrics { metric_names } , no data found for runs { run_ids } ."
12401237 )
12411238
12421239 # Undo multi-indexing
0 commit comments