Skip to content

Commit

Permalink
fix(async-io): return coro when __name__ is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed May 23, 2024
1 parent da75015 commit db33903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def trace_item(self, coro_or_future):

async def trace_coroutine(self, coro):
if not hasattr(coro, "__name__"):
return
return coro
start = default_timer()
attr = {
"type": "coroutine",
Expand Down

0 comments on commit db33903

Please sign in to comment.