MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / with_formattings

Function with_formattings

misc/python/materialize/terminal.py:35–37  ·  view source on GitHub ↗
(text: str, formattings: list[str])

Source from the content-addressed store, hash-verified

33
34
35def with_formattings(text: str, formattings: list[str]) -> str:
36 formatting = "".join(formattings)
37 return f"{formatting}{text}{_END_FORMATTING}"

Callers 3

parallel_task.pyFile · 0.90
highlight_matchFunction · 0.90
with_formattingFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected