MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / with_response

Method with_response

tests/Framework.py:146–158  ·  view source on GitHub ↗
(self, status: int, response_headers: dict[str, Any], output: bytes)

Source from the content-addressed store, hash-verified

144 input: Any
145
146 def with_response(self, status: int, response_headers: dict[str, Any], output: bytes) -> RequestResponse:
147 return RequestResponse(
148 self.protocol,
149 self.verb,
150 self.host,
151 self.port,
152 self.url,
153 self.request_headers,
154 self.input,
155 status,
156 response_headers,
157 output,
158 )
159
160
161@dataclass

Callers 2

getresponseMethod · 0.80
__request_callbackMethod · 0.80

Calls 1

RequestResponseClass · 0.85

Tested by

no test coverage detected