Skip to content

Commit 873ecc4

Browse files
Remove defensive fallback
Signed-off-by: Jeffrey Wang <jeffreywang@anyscale.com>
1 parent 14b4d44 commit 873ecc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/ray/serve/_private/router.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ def _wrap_asyncio_call_in_future(
17561756
A concurrent.futures.Future that resolves to the ReplicaResult.
17571757
"""
17581758
# Extract operation name from coroutine for logging
1759-
operation_name = coro.__name__ if hasattr(coro, "__name__") else "operation"
1759+
operation_name = coro.__name__
17601760

17611761
def asyncio_future_callback(
17621762
asyncio_future: asyncio.Future, concurrent_future: concurrent.futures.Future

0 commit comments

Comments
 (0)