Skip to content

Commit

Permalink
removed malfunctioning get_model_parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed Mar 18, 2024
1 parent 47bd660 commit 453a87e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions fedn/fedn/network/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,20 +271,6 @@ def get_active_model(self):

return _json

def get_model_parameters(self, id: str):
""" Get the parameters of a model.
:param id: The id (or model property) of the model to get parameters for.
:type id: str
:return: The parameters of the model.
:rtype: dict
"""
response = requests.get(self._get_url_api_v1(f'models/{id}/parameters'), verify=self.verify, headers=self.headers)

_json = response.json()

return _json

def get_model_trail(self, id: str = None, include_self: bool = True, reverse: bool = True, n_max: int = None):
""" Get the model trail.
Expand Down

0 comments on commit 453a87e

Please sign in to comment.