-
- Downloads
api/serializers: Add Exception type encoder and decoder
An exception can be constructed with another exception argument so handle that special case by adding a dedicated encoder and decoder to avoid remote exception serialization error.
parent
e2bd9c31
No related branches found
No related tags found
Showing
- swh/core/api/__init__.py 12 additions, 4 deletionsswh/core/api/__init__.py
- swh/core/api/serializers.py 19 additions, 12 deletionsswh/core/api/serializers.py
- swh/core/api/tests/test_async.py 2 additions, 2 deletionsswh/core/api/tests/test_async.py
- swh/core/api/tests/test_rpc_client_server.py 13 additions, 0 deletionsswh/core/api/tests/test_rpc_client_server.py
- swh/core/api/tests/test_serializers.py 21 additions, 0 deletionsswh/core/api/tests/test_serializers.py