You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using aio server interceptor with a stream_stream call results in an error:
File "[PYTHON]/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 144, in _stream_interceptor
raise error
File "[PYTHON]/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 135, in _stream_interceptor
async for response in behavior(
TypeError: 'async for' requires an object with __aiter__ method, got coroutine
Describe your environment
python = "^3.10"
grpcio = "1.64.3"
opentelemetry-distro = "0.48b0"
opentelemetry-instrumentation-grpc = "0.48b0"
protobuf = "5.28.1"
What happened?
Using aio server interceptor with a stream_stream call results in an error:
Steps to Reproduce
Use the grpc classes from the example: https://github.com/grpc/grpc/tree/e9c16ace65211b0f0d07ff2fdc7e657865fe8350/examples/python/async_streaming
Expected Result
No error
Actual Result
Error
Additional context
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: