MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _collapse_whitespace

Function _collapse_whitespace

agents/coldstart-agent/main.py:583–585  ·  view source on GitHub ↗

Normalize arbitrary text into a single-line string.

(value: Any)

Source from the content-addressed store, hash-verified

581 except ValueError:
582 return default
583
584
585def _assert_fetchable_url(url: str) -> None:
586 """Reject URLs that point at the local host or a private network.
587
588 --homepage-url and --scholar-url are fetched server-side, so without this a

Callers 13

_strip_htmlFunction · 0.85
_parse_author_namesFunction · 0.85
_normalize_person_nameFunction · 0.85
_dedupe_preserve_orderFunction · 0.85
_html_to_text_linesFunction · 0.85
parse_research_homepageFunction · 0.85
_build_scholar_heat_mapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected