MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / _request

Method _request

slack_sdk/web/async_base_client.py:217–230  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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,

Callers 3

_sendMethod · 0.95
__anext__Method · 0.45
__next__Method · 0.45

Calls 1

_request_with_sessionFunction · 0.70

Tested by

no test coverage detected