Skip to content

Commit

Permalink
Don't add unset fields to proto (ga4gh#1530)
Browse files Browse the repository at this point in the history
  • Loading branch information
david4096 authored Feb 7, 2017
1 parent b67a723 commit 32843f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ga4gh/server/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 32843f8

Please sign in to comment.