MCPcopy Create free account
hub / github.com/EasyIME/PIME / get_arguments

Method get_arguments

python/python3/tornado/web.py:459–472  ·  view source on GitHub ↗

Returns a list of the arguments with the given name. If the argument is not present, returns an empty list. This method searches both the query and body arguments.

(self, name: str, strip: bool = True)

Source from the content-addressed store, hash-verified

457 return self._get_argument(name, default, self.request.arguments, strip)
458
459 def get_arguments(self, name: str, strip: bool = True) -> List[str]:
460 """Returns a list of the arguments with the given name.
461
462 If the argument is not present, returns an empty list.
463
464 This method searches both the query and body arguments.
465 """
466
467 # Make sure `get_arguments` isn't accidentally being called with a
468 # positional argument that's assumed to be a default (like in
469 # `get_argument`.)
470 assert isinstance(strip, bool)
471
472 return self._get_arguments(name, self.request.arguments, strip)
473
474 def get_body_argument(
475 self,

Callers 4

getMethod · 0.80
getMethod · 0.80
prepareMethod · 0.80
getMethod · 0.80

Calls 1

_get_argumentsMethod · 0.95

Tested by 4

getMethod · 0.64
getMethod · 0.64
prepareMethod · 0.64
getMethod · 0.64