Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/plotly/dash
/ coerce_to_list
Function
coerce_to_list
dash/_utils.py:301–304 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
299
300
301
def
coerce_to_list(obj):
302
if
not isinstance(obj, (list, tuple)):
303
return
[obj]
304
return
obj
305
306
307
def
clean_property_name(name: str):
Callers
2
callback
Function · 0.85
validate_background_callbacks
Function · 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…