Skip to content

Unable to generate GRPC interface for Python? #8325

Open

Description

Do I have to use protobuf with grpc?
flatc version 24.3.25 with a simple fbs:

namespace models;

table HelloReply {
  message:string;
}

table HelloRequest {
  name:string;
}

table ManyHellosRequest {
  name:string;
  num_greetings:int;
}

rpc_service Greeter {
  SayHello(HelloRequest):HelloReply;
  SayManyHellos(ManyHellosRequest):HelloReply (streaming: "server");
}

and run flatc -c -p --grpc -o api/ include/fbs/greeter.fbs
output is

error:
  Unable to generate GRPC interface for Python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions