Skip to content

Commit

Permalink
Fix sphinx warnings (#2721)
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Steiner authored Dec 19, 2023
1 parent 251fdf1 commit c078d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/py/flwr/simulation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def start_simulation(
List `client_id`s for each client. This is only required if
`num_clients` is not set. Setting both `num_clients` and `clients_ids`
with `len(clients_ids)` not equal to `num_clients` generates an error.
client_resources : Optional[Dict[str, float]] (default: `{"num_cpus": 1,
"num_gpus": 0.0}` CPU and GPU resources for a single client. Supported keys
client_resources : Optional[Dict[str, float]] (default: `{"num_cpus": 1, "num_gpus": 0.0}`)
CPU and GPU resources for a single client. Supported keys
are `num_cpus` and `num_gpus`. To understand the GPU utilization caused by
`num_gpus`, as well as using custom resources, please consult the Ray
documentation.
Expand Down Expand Up @@ -160,7 +160,7 @@ def start_simulation(
-------
hist : flwr.server.history.History
Object containing metrics from training.
"""
""" # noqa: E501
# pylint: disable-msg=too-many-locals
event(
EventType.START_SIMULATION_ENTER,
Expand Down

0 comments on commit c078d3a

Please sign in to comment.