We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7557a08 commit fdb0e70Copy full SHA for fdb0e70
README.md
@@ -49,18 +49,18 @@ app.run()
49
client.py
50
```python
51
from pydantic import BaseModel
52
-from simple_rpc.v2.client import GrpcClientV2
+from simple_rpc import GrpcClient
53
import asyncio
54
55
-client = GrpcClientV2(
+client = GrpcClient(
56
+ proto_file_relpath="simplerpc_tmp/Server.proto", # Generates automatically on server startup
57
port=50051
58
)
59
command = client.configure_command(
60
functionName="example_method",
61
className="Server"
62
63
-
64
async def run():
65
print(
66
await command()
0 commit comments