First download the showcase server code.
git clone https://github.com/arithmetic1728/echo_sample.git
python echo_sample/handwritten/server.py
First change to correct_client branch. The microgenerator has bug and this branch fixes the generated code.
git checkout correct_client
Install the generated showcase client package
cd showcase_generated
pip install --editable .
python ../sample/sample.py
There are two tests, unary_stream and stream_stream.
python echo_sample/handwritten/interceptor_stream_stream_server.py
or
python echo_sample/handwritten/interceptor_unary_stream_server.py
python ../sample/stream_stream_interceptor_sample.py
or
python ../sample/unary_stream_interceptor_sample.py