Skip to content

Commit

Permalink
Fix doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckierDodge committed Sep 10, 2024
1 parent 8fb0c6b commit 25f9d27
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions src/wei/experiment_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 25f9d27

Please sign in to comment.