Skip to content

Commit

Permalink
Merge pull request #11 from Danangjoyoo/docs/readme-2
Browse files Browse the repository at this point in the history
[DOCS] update readme typo
  • Loading branch information
Danangjoyoo committed Jan 17, 2024
2 parents caba566 + 328ed6e commit f257d19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Calculator(meta.OborBase):
pass
class CalculatorServer(Calculator):
def tambah(self, a: int, b: int):
def add(self, a: int, b: int):
print(f"adding {a} and {b}")
return a+b
Expand Down Expand Up @@ -72,7 +72,7 @@ class CalculatorServer(Calculator):
```

3. Create client, you can create a simple `client.py` or a client application
- simple `client.py``
- simple `client.py`
```
from oborpc.builder import ClientBuilder
from calculator import Calculator
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

VERSION = "0.0.5"
VERSION = "0.0.6"
DESCRIPTION = "An easy setup object oriented RPC. Built-in setup for FastAPI and Flask"

# Setting up
Expand Down

0 comments on commit f257d19

Please sign in to comment.