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

Class Request

tests/Framework.py:137–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136@dataclass
137class Request:
138 protocol: str
139 verb: str
140 host: str
141 port: int | None
142 url: str
143 request_headers: dict[str, Any]
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

requestMethod · 0.85
__readNextRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…