From 25f9d277c4da4c7b95d4d1fd942ce9260b8c8a9c Mon Sep 17 00:00:00 2001 From: Ryan Lewis Date: Tue, 10 Sep 2024 10:27:08 -0500 Subject: [PATCH] Fix doc string --- src/wei/experiment_client.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/wei/experiment_client.py b/src/wei/experiment_client.py index 50dcd7ad..46f11229 100644 --- a/src/wei/experiment_client.py +++ b/src/wei/experiment_client.py @@ -459,21 +459,8 @@ def get_datapoint_value(self, datapoint_id: str) -> Dict[Any, Any]: return response.content response.raise_for_status() - def save_datapoint_value( - self, datapoint_id: str, output_filepath: str - ) -> Dict[Any, Any]: - """Returns the datapoint for the given id - - Parameters - ---------- - - None - - Returns - ------- - - response: Dict - writes the funct""" + def save_datapoint_value(self, datapoint_id: str, output_filepath: str): + """Saves the value of the given datapoint to the specified filepath""" url = f"{self.url}/runs/data/" + datapoint_id response = requests.get(url) if response.ok: