diff --git a/kuksa-client/kuksa_client/cli_backend/grpc.py b/kuksa-client/kuksa_client/cli_backend/grpc.py index 92efcc9..564baad 100644 --- a/kuksa-client/kuksa_client/cli_backend/grpc.py +++ b/kuksa-client/kuksa_client/cli_backend/grpc.py @@ -38,7 +38,7 @@ def callback_wrapper(callback: Callable[[str], None]) -> Callable[[Iterable[EntryUpdate]], None]: def wrapper(updates: Iterable[EntryUpdate]) -> None: - callback(json.dumps([update.to_dict() for update in updates])) + callback(json.dumps([update.to_dict() for update in updates], cls=DatabrokerEncoder)) return wrapper