MCPcopy Create free account
hub / github.com/CoderLuii/HolyClaude / collect_notify_urls

Function collect_notify_urls

scripts/notify.py:89–104  ·  view source on GitHub ↗
(environ)

Source from the content-addressed store, hash-verified

87
88
89def collect_notify_urls(environ):
90 urls = []
91 for key, value in environ.items():
92 if not key.startswith("NOTIFY_"):
93 continue
94 if not value or not value.strip():
95 continue
96 if key == "NOTIFY_URLS":
97 urls.extend(
98 normalize_notify_url(url)
99 for url in value.split(",")
100 if url.strip()
101 )
102 else:
103 urls.append(normalize_notify_url(value))
104 return urls
105
106
107def scheme_label(url):

Callers 2

run_dry_runFunction · 0.85
mainFunction · 0.85

Calls 1

normalize_notify_urlFunction · 0.85

Tested by

no test coverage detected