aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2024-06-12 18:26:26 +0300
committermikhnenko <mikhnenko@yandex-team.com>2024-06-12 18:39:06 +0300
commit0fcdd8301b48809803aefa06a435ab8538a5bc3f (patch)
treec1fc64801da4cf097317bf4eeefd56539a9a0094 /contrib
parent5d89ff167f67790589638ad34d8fe19939d86347 (diff)
downloadydb-0fcdd8301b48809803aefa06a435ab8538a5bc3f.tar.gz
Import upstream 74056a0e2834577ad590d023ee73cc20cf103d38
ef4420043d69b575e894d62b4a77946a51cc4c1b
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/protobuf/py3/google/protobuf/json_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/protobuf/py3/google/protobuf/json_format.py b/contrib/python/protobuf/py3/google/protobuf/json_format.py
index 01747bb6fd..e68d29df6a 100644
--- a/contrib/python/protobuf/py3/google/protobuf/json_format.py
+++ b/contrib/python/protobuf/py3/google/protobuf/json_format.py
@@ -226,7 +226,7 @@ class _Printer(object):
else:
recorded_key = 'false'
else:
- recorded_key = key
+ recorded_key = str(key)
js_map[recorded_key] = self._FieldToJsonObject(
v_field, value[key])
js[name] = js_map