Returns the value of the argument with the given name from the request query string. If default is not provided, the argument is considered to be required, and we raise a `MissingArgumentError` if it is missing. If the argument appears in the url more than once, we
(
self,
name: str,
default: Union[None, str, _ArgDefaultMarker] = _ARG_DEFAULT,
strip: bool = True,
)
| 500 | return self._get_arguments(name, self.request.body_arguments, strip) |
| 501 | |
| 502 | def get_query_argument( |
| 503 | self, |
| 504 | name: str, |
| 505 | default: Union[None, str, _ArgDefaultMarker] = _ARG_DEFAULT, |
| 506 | strip: bool = True, |
| 507 | ) -> Optional[str]: |
| 508 | """Returns the value of the argument with the given name |
| 509 | from the request query string. |
| 510 | |
| 511 | If default is not provided, the argument is considered to be |
| 512 | required, and we raise a `MissingArgumentError` if it is missing. |
| 513 | |
| 514 | If the argument appears in the url more than once, we return the |
| 515 | last value. |
| 516 | |
| 517 | .. versionadded:: 3.2 |
| 518 | """ |
| 519 | return self._get_argument(name, default, self.request.query_arguments, strip) |
| 520 | |
| 521 | def get_query_arguments(self, name: str, strip: bool = True) -> List[str]: |
| 522 | """Returns a list of the query arguments with the given name. |
nothing calls this directly
no test coverage detected