You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it a bidirectional streaming system, the proto file should be like this:
service ChatServer {
// This bi-directional stream makes it possible to send and receive Notes between 2 persons
rpc ChatStream (stream Note) returns (stream Note);
}
The text was updated successfully, but these errors were encountered:
@eufat You are probably right, although I might have had issues doing it this way (don't remember though, been a while). Will look into it when I have time.
run python -m grpc_tools.protoc -I=proto/ --python_out=proto/ --grpc_python_out=proto/ proto/chat.proto generate import chat_pb2 as chat__pb2. not from . import chat_pb2 as chat__pb2
Yes, I am also having issues working with truly bidirectional streams with gRPC in python.
Especially having problem running two separate async loops for getting messages and sending messages in a single method
If it a bidirectional streaming system, the proto file should be like this:
The text was updated successfully, but these errors were encountered: