From 32843f87e451881e5235c7638dccfc52d09e5175 Mon Sep 17 00:00:00 2001 From: David Steinberg Date: Tue, 7 Feb 2017 11:53:39 -0800 Subject: [PATCH] Don't add unset fields to proto (#1530) --- constraints.txt | 2 +- ga4gh/server/protocol.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/constraints.txt b/constraints.txt index d23c6e20b..100f86c62 100644 --- a/constraints.txt +++ b/constraints.txt @@ -26,4 +26,4 @@ # git+git://github.com/ga4gh/ga4gh-common.git@master#egg=ga4gh_common git+git://github.com/ga4gh/schemas.git@master#egg=ga4gh_schemas -git+git://github.com/ga4gh/ga4gh-client.git@master#egg=ga4gh_client +git+git://github.com/david4096/ga4gh-client.git@unset#egg=ga4gh_client diff --git a/ga4gh/server/protocol.py b/ga4gh/server/protocol.py index dcc766ad6..2ce98ac84 100644 --- a/ga4gh/server/protocol.py +++ b/ga4gh/server/protocol.py @@ -133,7 +133,7 @@ def toJson(protoObject, indent=None): Serialises a protobuf object as json """ # Using the internal method because this way we can reformat the JSON - js = json_format.MessageToDict(protoObject, True) + js = json_format.MessageToDict(protoObject, False) return json.dumps(js, indent=indent)