Skip to content

Commit

Permalink
Merge pull request #52 from RamanjaneyuluIdavalapati/master
Browse files Browse the repository at this point in the history
numpy data types to python native types when it is JSON protocol
  • Loading branch information
Ram Idavalapati authored Jun 8, 2018
2 parents 2876962 + a9c828c commit 8f618dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ deploy:
- LICENSE
- kwikapi/api.py
- kwikapi/__init__.py
name: kwikapi-0.2.6
tag_name: 0.2.6
name: kwikapi-0.2.7
tag_name: 0.2.7
on:
repo: deep-compute/kwikapi
- provider: pypi
Expand Down
1 change: 1 addition & 0 deletions kwikapi/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def get_name():

@staticmethod
def serialize(data):
data = to_python_type(data)
return json.dumps(data)

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = '0.2.6'
version = '0.2.7'
setup(
name="kwikapi",
version=version,
Expand Down

0 comments on commit 8f618dc

Please sign in to comment.