MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / _clean

Function _clean

applications/mapcoder/components/retrieval.py:54–55  ·  view source on GitHub ↗
(s: str)

Source from the content-addressed store, hash-verified

52
53
54def _clean(s: str) -> str:
55 return s.strip() if isinstance(s, str) else ""
56
57
58def parse_retrieval_xml(content: str) -> tuple[list[dict[str, str]], str]:

Callers 1

parse_retrieval_xmlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected