MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / isgeneratorfunction

Function isgeneratorfunction

pywebio/utils.py:159–162  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

157
158
159def isgeneratorfunction(object):
160 while isinstance(object, functools.partial):
161 object = object.func
162 return inspect.isgeneratorfunction(object)
163
164
165def get_function_name(func, default=None):

Callers 11

targetFunction · 0.85
__init__Method · 0.85
callback_coroMethod · 0.85
__init__Method · 0.85
register_callbackMethod · 0.85
start_serverFunction · 0.85
make_applicationsFunction · 0.85
start_serverFunction · 0.85
_init_sessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…