Skip to content

Commit

Permalink
Merge pull request #6 from RamanjaneyuluIdavalapati/master
Browse files Browse the repository at this point in the history
Typing removed
  • Loading branch information
Ram Idavalapati authored Feb 13, 2018
2 parents 7b3c08d + e59b303 commit cb11caa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ deploy:
- kwikapi/__init__.py
- kwikapi/tornado/__init__.py
- kwikapi/tornado/kwikapi_tornado.py
name: kwikapi.tornado-0.1.1
tag_name: 0.1.1
name: kwikapi.tornado-0.2
tag_name: 0.2
on:
repo: deep-compute/kwikapi.tornado
- provider: pypi
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ from kwikapi.tornado import RequestHandler
from kwikapi import API

class BaseCalc(object):
def add(self, a: int, b: int):
def add(self, a: int, b: int) -> int:
return a + b

def subtract(self, a: int, b: int):
def subtract(self, a: int, b: int) -> int:
return a - b

api = API(default_version='v1')
Expand Down Expand Up @@ -51,3 +51,5 @@ $ python sample.py
```bash
$ curl "http://localhost:8888/api/v1/add?a=10&b=10"
```

> To know how to use all features, please refer KwikAPI documentation https://github.com/deep-compute/kwikapi/blob/master/README.md
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

# https://docs.djangoproject.com/en/1.11/intro/reusable-apps/
version = '0.1.1'
version = '0.2'
setup(
name="kwikapi-tornado",
version=version,
Expand All @@ -15,7 +15,7 @@
author='Deep Compute, LLC',
author_email='contact@deepcompute.com',
install_requires=[
'tornado',
'tornado==4.5.3',
],
classifiers=[
'Environment :: Web Environment',
Expand Down

0 comments on commit cb11caa

Please sign in to comment.