MCPcopy 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
53def 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
61def serialize(value):

Callers 1

_serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected