Skip to content

Commit

Permalink
fix(framework) Update example on docstrings for RecordSet (#4748)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguaragna authored Dec 31, 2024
1 parent a5dd016 commit 8308d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/flwr/common/record/recordset.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class RecordSet:
>>> p_record = ParametersRecord({"my_array": arr})
>>>
>>> # Adding it to the record_set would look like this
>>> my_recordset.configs_records["my_config"] = c_record
>>> my_recordset.parameters_records["my_parameters"] = p_record
For additional examples on how to construct each of the records types shown
above, please refer to the documentation for :code:`ConfigsRecord`,
Expand Down

0 comments on commit 8308d6e

Please sign in to comment.