Add and deploy new utils for messages' type-checking.
- Add new 'declearn.communication.utils' submodule. - Move existing utils there, but keep re-exporting them from the parent level to avoid breaking existing code. - Refactor some backend code used to verify exchanged messages' type as part of federated learning processes into two new utils.
Showing
- declearn/communication/__init__.py 7 additions, 3 deletionsdeclearn/communication/__init__.py
- declearn/communication/utils/__init__.py 65 additions, 0 deletionsdeclearn/communication/utils/__init__.py
- declearn/communication/utils/_build.py 0 additions, 0 deletionsdeclearn/communication/utils/_build.py
- declearn/communication/utils/_parse.py 166 additions, 0 deletionsdeclearn/communication/utils/_parse.py
- declearn/main/_client.py 39 additions, 47 deletionsdeclearn/main/_client.py
- docs/release-notes/v2.4.0.md 9 additions, 0 deletionsdocs/release-notes/v2.4.0.md
- test/communication/test_utils.py 190 additions, 0 deletionstest/communication/test_utils.py
Loading
Please register or sign in to comment