MCPcopy Create free account
hub / github.com/dataease/SQLBot / get_domain_list

Function get_domain_list

backend/common/utils/utils.py:278–286  ·  view source on GitHub ↗
(domain: str)

Source from the content-addressed store, hash-verified

276 return False
277
278def get_domain_list(domain: str) -> list[str]:
279 domains = []
280 if not domain:
281 return domains
282 for d in re.split(r'[,;]', domain):
283 d_clean = d.strip().rstrip('/')
284 if d_clean:
285 domains.append(d_clean)
286 return domains
287
288
289def equals_ignore_case(str1: str, *args: str) -> bool:

Callers 2

init_dynamic_corsFunction · 0.90
dynamic_upgrade_corsFunction · 0.90

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected