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

Class FalsyList

dash/_callback_context.py:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40class FalsyList(list):
41 def __bool__(self):
42 # for Python 3
43 return False
44
45 def __nonzero__(self):
46 # for Python 2
47 return False
48
49
50falsy_triggered = FalsyList([{"prop_id": ".", "value": None}])

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…