python-betterproto icon indicating copy to clipboard operation
python-betterproto copied to clipboard

Cannot set timeout in generated `ServiceStubs`

Open qria opened this issue 4 years ago • 0 comments

It is not possible to set timeouts in generated ServiceStubs.

I believe betterproto supports timeouts since #32 but it seems like the code generation does not implement timeouts.

Here is my fork that I am currently using to use timeouts.

I didn't submit a PR because it seems like there's much context, such as 'does timeout only apply in case of not method.client_streaming and method.py_input_message and method.py_input_message.fields?

qria avatar May 31 '21 03:05 qria