MCPcopy Create free account
hub / github.com/datapane/datapane / query

Method query

python-client/src/datapane/_vendor/bottle.py:1224–1233  ·  view source on GitHub ↗

The :attr:`query_string` parsed into a :class:`FormsDict`. These values are sometimes called "URL arguments" or "GET parameters", but not to be confused with "URL wildcards" as they are provided by the :class:`Router`.

(self)

Source from the content-addressed store, hash-verified

1222
1223 @DictProperty('environ', 'bottle.request.query', read_only=True)
1224 def query(self):
1225 """ The :attr:`query_string` parsed into a :class:`FormsDict`. These
1226 values are sometimes called "URL arguments" or "GET parameters", but
1227 not to be confused with "URL wildcards" as they are provided by the
1228 :class:`Router`. """
1229 get = self.environ['bottle.get'] = FormsDict()
1230 pairs = _parse_qsl(self.environ.get('QUERY_STRING', ''))
1231 for key, value in pairs:
1232 get[key] = value
1233 return get
1234
1235 @DictProperty('environ', 'bottle.request.forms', read_only=True)
1236 def forms(self):

Callers

nothing calls this directly

Calls 3

FormsDictClass · 0.85
_parse_qslFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected