MCPcopy
hub / github.com/marimo-team/marimo / formatEntry

Method formatEntry

frontend/src/utils/python-poet/poet.ts:101–108  ·  view source on GitHub ↗
(entry: [string, unknown])

Source from the content-addressed store, hash-verified

99 }
100
101 const formatEntry = (entry: [string, unknown]) => {
102 const [key, value] = entry;
103 const code = new Literal(value, this.opts).toCode();
104 if (code === "") {
105 return "";
106 }
107 return `'${key}': ${code}`;
108 };
109
110 const formattedEntries = entries
111 .map(formatEntry)

Callers

nothing calls this directly

Calls 1

toCodeMethod · 0.65

Tested by

no test coverage detected