Skip to content

Commit

Permalink
Merge pull request #88 from deep-compute/python_3.6_Union_error_patch
Browse files Browse the repository at this point in the history
patch for python 3.6 union not supported in issubclass issue
  • Loading branch information
Ram Idavalapati authored May 7, 2019
2 parents c9d2d6f + 4cb75c3 commit 7b2716c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.5.4
tag_name: 0.5.4
name: kwikapi-0.5.5
tag_name: 0.5.5
on:
repo: deep-compute/kwikapi
- provider: pypi
Expand Down
2 changes: 1 addition & 1 deletion kwikapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def _check_type(self, _type):
break
except TypeError:
try:
if _type.__module__ == 'typing':
if _type.__module__ in ('typing', 'builtins'):
break
else:
raise UnsupportedType(_type)
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.5.4'
version = '0.5.5'
setup(
name="kwikapi",
version=version,
Expand Down

0 comments on commit 7b2716c

Please sign in to comment.