Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ is_coroutine
Function
is_coroutine
library/python/testing/yatest_lib/external.py:53–58 ·
view source on GitHub ↗
(val)
Source
from the content-addressed store, hash-verified
51
52
53
def
is_coroutine(val):
54
if
sys.version_info[0] < 3:
55
return
False
56
else
:
57
import
asyncio
58
return
asyncio.iscoroutinefunction(val) or asyncio.iscoroutine(val)
59
60
61
def
serialize(value):
Callers
1
_serialize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected