-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
┌ Error: grpc_async_stream_response: unexpected exception
│ exception =
│ MethodError: objects of type ProtoBuf.Codecs.BufferedVector{String} are not callable
│ The object of type `ProtoBuf.Codecs.BufferedVector{String}` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object.
└ @ gRPCClient ~/.julia/packages/gRPCClient/U2ltm/src/Streaming.jl:100
when the streaming response would be a struct like
struct Lines
Lines::Vector{String}
error::String
end
proto
message Line { string Line = 1; }
message Lines {
repeated string Lines = 1;
string error = 2;
}
Both types doesn' t work.
when return Line:
┌ Error: grpc_async_stream_response: unexpected exception
│ exception =
│ MethodError: objects of type String are not callable
│ The object of type `String` exists, but no method is defined for this combination of argument types when trying to treat it as a callable object.
└ @ gRPCClient ~/.julia/packages/gRPCClient/U2ltm/src/Streaming.jl:100
Metadata
Metadata
Assignees
Labels
No labels