Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Commit 42882b9

Browse files
author
Jason Costello
committed
[WIP] Deserialisation done auto-magically by requests
1 parent c2eb182 commit 42882b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hypervector/resources/core/ensemble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def to_response(self):
4545
@classmethod
4646
def from_get(cls, response):
4747
# Return hypervectors on get
48-
dictionary = json.loads(gzip.decompress(response.content))
48+
dictionary = json.loads(response.content)
4949
ensemble_result = EnsembleResult(
5050
ensemble_uuid=dictionary['ensemble_uuid'],
5151
hypervectors=dictionary['hypervectors'],

0 commit comments

Comments
 (0)