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)
| 215 | return AsyncSlackResponse(**{**data, **res}).validate() |
| 216 | |
| 217 | async def _request(self, *, http_verb, api_url, req_args) -> Dict[str, Any]: |
| 218 | """Submit the HTTP request with the running session or a new session. |
| 219 | Returns: |
| 220 | A dictionary of the response data. |
| 221 | """ |
| 222 | return await _request_with_session( |
| 223 | current_session=self.session, |
| 224 | timeout=self.timeout, |
| 225 | logger=self._logger, |
| 226 | http_verb=http_verb, |
| 227 | api_url=api_url, |
| 228 | req_args=req_args, |
| 229 | retry_handlers=self.retry_handlers, |
| 230 | ) |
| 231 | |
| 232 | async def _upload_file( |
| 233 | self, |
no test coverage detected