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

Method _request

slack/web/async_base_client.py:153–165  ·  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

151 return AsyncSlackResponse(**{**data, **res}).validate()
152
153 async def _request(self, *, http_verb, api_url, req_args) -> Dict[str, any]:
154 """Submit the HTTP request with the running session or a new session.
155 Returns:
156 A dictionary of the response data.
157 """
158 return await _request_with_session(
159 current_session=self.session,
160 timeout=self.timeout,
161 logger=self._logger,
162 http_verb=http_verb,
163 api_url=api_url,
164 req_args=req_args,
165 )

Callers 1

_sendMethod · 0.95

Calls 1

_request_with_sessionFunction · 0.90

Tested by

no test coverage detected