(self, *args, **kwargs)
| 116 | |
| 117 | class ThriftJSONDecoder(json.JSONDecoder): |
| 118 | def __init__(self, *args, **kwargs): |
| 119 | self._thrift_class = kwargs.pop("thrift_class") |
| 120 | super(ThriftJSONDecoder, self).__init__(*args, **kwargs) |
| 121 | |
| 122 | def decode(self, json_str): |
| 123 | if isinstance(json_str, dict): |