MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / _domain_route_label

Function _domain_route_label

scripts/common.py:1391–1392  ·  view source on GitHub ↗
(rule: dict[str, Any])

Source from the content-addressed store, hash-verified

1389
1390
1391def _domain_route_label(rule: dict[str, Any]) -> str:
1392 return str(rule.get("route_to") or rule.get("label") or "").strip()
1393
1394
1395def _domain_match_terms(rule: dict[str, Any]) -> list[str]:

Callers 4

_domain_match_termsFunction · 0.85
_rules_for_labelFunction · 0.85
infer_domain_labelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected