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

Method _request

slack/web/base_client.py:191–203  ·  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

189 return SlackResponse(**{**data, **res}).validate()
190
191 async def _request(self, *, http_verb, api_url, req_args) -> Dict[str, any]:
192 """Submit the HTTP request with the running session or a new session.
193 Returns:
194 A dictionary of the response data.
195 """
196 return await _request_with_session(
197 current_session=self.session,
198 timeout=self.timeout,
199 logger=self._logger,
200 http_verb=http_verb,
201 api_url=api_url,
202 req_args=req_args,
203 )
204
205 # =================================================================
206 # urllib based WebClient

Callers 2

_sendMethod · 0.95
__anext__Method · 0.45

Calls 1

_request_with_sessionFunction · 0.90

Tested by

no test coverage detected