MCPcopy Create free account
hub / github.com/BerriAI/litellm / added_text

Function added_text

scripts/openapi_docs_gate.py:142–143  ·  view source on GitHub ↗
(diff_text: str)

Source from the content-addressed store, hash-verified

140
141
142def added_text(diff_text: str) -> str:
143 return "\n".join(match.group("text") for match in _ADDED_LINE.finditer(diff_text))
144
145
146def introduced(violations: Sequence[Violation], added: str) -> tuple[Violation, ...]:

Callers 1

cmd_checkFunction · 0.85

Calls 2

joinMethod · 0.80
groupMethod · 0.45

Tested by

no test coverage detected