MCPcopy
hub / github.com/plotly/dash / first

Method first

dash/_utils.py:136–142  ·  view source on GitHub ↗
(self, *names)

Source from the content-addressed store, hash-verified

134
135 # pylint: disable=inconsistent-return-statements
136 def first(self, *names):
137 for name in names:
138 value = self.get(name)
139 if value:
140 return value
141 if not names:
142 return next(iter(self), {})
143
144
145def create_callback_id(output, inputs, no_output=False):

Callers 3

triggered_idMethod · 0.80
BFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 1