Skip to content

Commit 2731473

Browse files
authored
Merge pull request #98 from deep-compute/add-default-params-to-readme
added default params to readme
2 parents b190cde + e3fca54 commit 2731473

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from kwikapi import API
2424

2525
# Core logic that you want to expose as a service
2626
class Calc(object):
27-
def add(self, a: int, b: int) -> int:
27+
def add(self, a: int=10, b: int=20) -> int:
2828
return a + b
2929

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

0 commit comments

Comments
 (0)