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

Function interpolate_str

dash/_utils.py:33–38  ·  view source on GitHub ↗
(template, **data)

Source from the content-addressed store, hash-verified

31
32
33def interpolate_str(template, **data):
34 s = template
35 for k, v in data.items():
36 key = "{%" + k + "%}"
37 s = s.replace(key, v)
38 return s
39
40
41def format_tag(

Callers 1

interpolate_indexMethod · 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…