MCPcopy
hub / github.com/pallets/werkzeug / validate_url

Function validate_url

examples/couchy/utils.py:51–52  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

49
50
51def validate_url(url):
52 return urlsplit(url)[0] in ALLOWED_SCHEMES
53
54
55def get_random_uid():

Callers 1

newFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected