Submit the HTTP request with the running session or a new session. Returns: A dictionary of the response data.
(self, *, http_verb, api_url, req_args)
| 226 | return SlackResponse(**{**data, **res}).validate() |
| 227 | |
| 228 | async def _request(self, *, http_verb, api_url, req_args) -> Dict[str, Any]: |
| 229 | """Submit the HTTP request with the running session or a new session. |
| 230 | Returns: |
| 231 | A dictionary of the response data. |
| 232 | """ |
| 233 | return await _request_with_session( |
| 234 | current_session=self.session, |
| 235 | timeout=self.timeout, |
| 236 | logger=self._logger, |
| 237 | http_verb=http_verb, |
| 238 | api_url=api_url, |
| 239 | req_args=req_args, |
| 240 | ) |
| 241 | |
| 242 | # ================================================================= |
| 243 | # urllib based WebClient |
no test coverage detected