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

Method getargs

python-client/src/datapane/_vendor/bottle.py:398–405  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

396 if filters:
397
398 def getargs(path):
399 url_args = re_match(path).groupdict()
400 for name, wildcard_filter in filters:
401 try:
402 url_args[name] = wildcard_filter(url_args[name])
403 except ValueError:
404 raise HTTPError(400, 'Path has wrong format.')
405 return url_args
406 elif re_pattern.groupindex:
407
408 def getargs(path):

Callers

nothing calls this directly

Calls 1

HTTPErrorClass · 0.85

Tested by

no test coverage detected