Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Fix JSONDecoder 'encoding' bug #649

Merged
merged 5 commits into from
Jun 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions qiskit_ibm_provider/utils/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ class RuntimeDecoder(json.JSONDecoder):
"""JSON Decoder used by runtime service."""

def __init__(self, *args: Any, **kwargs: Any):
kwargs.pop("encoding", None)
super().__init__(object_hook=self.object_hook, *args, **kwargs)
self.__parameter_vectors: Dict[str, Tuple[ParameterVector, set]] = {}
self.__read_parameter_expression = (
Expand Down