mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-02 18:27:46 +00:00
* clang-format
* [Python] Replace . with _ in grpc filename suffix
Having filenames with . like `file.fb.grcp`
is not great for Python. Since dots are used for namespaces.
Replacing all of them with _ eg suffix `foo.bar.baz` will become
`foo_bar_baz`.
Restoring the previous default `_fb` suffix.
* [Python] Use namespace in path
This fixes a regression introduced with:
|
||
|---|---|---|
| .. | ||
| models | ||
| client.py | ||
| greeter_grpc.fb.py | ||
| README.md | ||
| server.py | ||
Python Greeter example
Prerequisite
- You need to have grpc python installed on your device
pip install grpcio
How to run Server:
python server.py ${PORT}
How to run Client:
python client.py ${PORT} ${NAME}