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

Function test_pat007_patch_append

tests/unit/test_patch.py:85–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_pat007_patch_append():
86 p = Patch()
87 p.append("item")
88 data = patch_to_dict(p)
89
90 assert data["operations"][0] == {
91 "operation": "Append",
92 "location": [],
93 "params": {"value": "item"},
94 }
95
96
97def test_pat008_patch_prepend():

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
PatchClass · 0.90
patch_to_dictFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…