MCPcopy Index your code
hub / github.com/astral-sh/python-build-standalone / render

Method render

src/github_api_tester.py:149–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 fault1: Callable[[], None] | None = None
148
149 def render(self) -> dict:
150 upload_asset = quart.url_for(
151 "upload_asset", release=self.release_id, _external=True
152 )
153 return {
154 "url": request.url,
155 "html_url": "https://github.invalid/unneeded",
156 "assets_url": "https://github.invalid/unneeded",
157 "upload_url": upload_asset + "{?name,label}",
158 "id": self.release_id,
159 "node_id": "fakenode",
160 "tag_name": self.tag_name,
161 "target_commitish": "main",
162 "draft": self.draft,
163 "prerelease": self.prerelease,
164 "assets": [i.render() for i in self.assets],
165 }
166
167
168releases = [

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected