MCPcopy Index your code
hub / github.com/plotly/dash / _parse_query_string

Function _parse_query_string

dash/_pages.py:113–121  ·  view source on GitHub ↗
(search)

Source from the content-addressed store, hash-verified

111
112
113def _parse_query_string(search):
114 if not search or not search.startswith("?"):
115 return {}
116
117 query_string = search[1:]
118
119 parsed_qs = parse_qs(query_string, keep_blank_values=True)
120
121 return {k: v[0] if len(v) == 1 else v for k, v in parsed_qs.items()}
122
123
124def _parse_path_variables(pathname, path_template):

Callers 1

updateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…