def METHOD_NAME(
        self,
        responses: Union[Dict[str, Any], List[Dict[str, Any]]]) -> None:
    # yapf: enable
    if isinstance(responses, list):
        self._mock_request.execute.side_effect = responses
    else:
        self._mock_request.execute.return_value = responses