MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / params

Method params

21-async/mojifinder/bottle.py:1096–1104  ·  view source on GitHub ↗

A :class:`FormsDict` with the combined values of :attr:`query` and :attr:`forms`. File uploads are stored in :attr:`files`.

(self)

Source from the content-addressed store, hash-verified

1094
1095 @DictProperty('environ', 'bottle.request.params', read_only=True)
1096 def params(self):
1097 """ A :class:`FormsDict` with the combined values of :attr:`query` and
1098 :attr:`forms`. File uploads are stored in :attr:`files`. """
1099 params = FormsDict()
1100 for key, value in self.query.allitems():
1101 params[key] = value
1102 for key, value in self.forms.allitems():
1103 params[key] = value
1104 return params
1105
1106 @DictProperty('environ', 'bottle.request.files', read_only=True)
1107 def files(self):

Callers

nothing calls this directly

Calls 2

FormsDictClass · 0.85
allitemsMethod · 0.80

Tested by

no test coverage detected