MCPcopy Index your code
hub / github.com/python-websockets/websockets / get_query_param

Function get_query_param

experiments/authentication/app.py:46–51  ·  view source on GitHub ↗
(path, key)

Source from the content-addressed store, hash-verified

44
45
46def get_query_param(path, key):
47 query = urllib.parse.urlparse(path).query
48 params = urllib.parse.parse_qs(query)
49 values = params.get(key, [])
50 if len(values) == 1:
51 return values[0]
52
53
54# WebSocket handler

Callers 2

serve_htmlFunction · 0.85
query_param_authFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…