Skip to content

Commit 7557a08

Browse files
authored
Update README.md
1 parent af75035 commit 7557a08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pip install git+https://github.com/NF-coder/SimpleRPC.git
1919

2020
server.py
2121
```python
22-
from simple_rpc.v2.server import GrpcServerV2
22+
from simple_rpc import GrpcServer
2323
from pydantic import BaseModel
2424

2525
class RequestModel(BaseModel):
@@ -29,7 +29,7 @@ class ResponceModel(BaseModel):
2929
num2: int
3030
num4: int
3131

32-
app = GrpcServerV2()
32+
app = GrpcServer()
3333

3434
class Server:
3535
@app.grpc_method()

0 commit comments

Comments
 (0)