MCPcopy Index your code
hub / github.com/plotly/dash / execute_async_function

Function execute_async_function

dash/dash.py:218–223  ·  view source on GitHub ↗
(func, *args, **kwargs)

Source from the content-addressed store, hash-verified

216
217
218async def execute_async_function(func, *args, **kwargs):
219 # Check if the function is a coroutine function
220 if inspect.iscoroutinefunction(func):
221 return await func(*args, **kwargs)
222 # If the function is not a coroutine, call it directly
223 return func(*args, **kwargs)
224
225
226# pylint: disable=too-many-instance-attributes

Callers 2

updateMethod · 0.85
get_layoutsMethod · 0.85

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…