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
Describe your environment Describe any aspect of your environment relevant to the problem, including your Python version, platform, version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.
opentelemetry-instrumentation-asyncio==0.44b0, error when anext used in asyncio.create_task, because async_generator_asend object has no __name__.
Python 3.11.7, tested on both macos and in linux container.
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
AttributeError: 'async_generator_asend' object has no attribute '__name__'. Did you mean: '__ne__'?
Additional context
The exception is thrown from trace_coroutine, anext return async_generator_asend object, it can pass asyncio.iscoroutine check as True, but it doesn't have __name__. Expect either skip this kind of coroutine or construct name differently.
The text was updated successfully, but these errors were encountered:
Describe your environment Describe any aspect of your environment relevant to the problem, including your Python version, platform, version numbers of installed dependencies, information about your cloud hosting provider, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main.
opentelemetry-instrumentation-asyncio==0.44b0
, error whenanext
used inasyncio.create_task
, becauseasync_generator_asend
object has no__name__
.Python 3.11.7, tested on both macos and in linux container.
Steps to reproduce
Describe exactly how to reproduce the error. Include a code sample if applicable.
What is the expected behavior?
No error
What is the actual behavior?
Additional context
The exception is thrown from trace_coroutine,
anext
returnasync_generator_asend
object, it can passasyncio.iscoroutine
check asTrue
, but it doesn't have__name__
. Expect either skip this kind of coroutine or construct name differently.The text was updated successfully, but these errors were encountered: