Skip to content

Commit

Permalink
Rephrase docstrings to fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll committed Jan 17, 2024
1 parent 8d628ac commit a05ef19
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/py/flwr/server/server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,13 @@ class SuccessClient(ClientProxy):
def get_properties(
self, ins: GetPropertiesIns, timeout: Optional[float]
) -> GetPropertiesRes:
"""Raise a NotImplementedError because this method is not expected to be
called."""
"""Raise an error because this method is not expected to be called."""
raise NotImplementedError()

def get_parameters(
self, ins: GetParametersIns, timeout: Optional[float]
) -> GetParametersRes:
"""Raise a NotImplementedError because this method is not expected to be
called."""
"""Raise a error because this method is not expected to be called."""
raise NotImplementedError()

def fit(self, ins: FitIns, timeout: Optional[float]) -> FitRes:
Expand Down

0 comments on commit a05ef19

Please sign in to comment.