Fix NameError: get_coroutine_checker not defined in check_coroutine function

This commit is contained in:
Alexsander Hamir 2026-01-05 09:47:08 -08:00
parent 64242d216a
commit da7af8a152

View file

@ -1184,6 +1184,7 @@ def _get_wrapper_timeout(
def check_coroutine(value) -> bool:
get_coroutine_checker = getattr(sys.modules[__name__], 'get_coroutine_checker')
return get_coroutine_checker().is_async_callable(value)