MCPcopy Create free account
hub / github.com/plotly/dash / nothing_or_string

Function nothing_or_string

dash/development/_jl_components_generation.py:347–348  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

345
346def generate_metadata_strings(resources, metatype):
347 def nothing_or_string(v):
348 return '"{}"'.format(v) if v else "nothing"
349
350 return [
351 jl_resource_tuple_string.format(

Callers 1

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…