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

Method render

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

Source from the content-addressed store, hash-verified

95 self._ASSETS.append(self)
96
97 def render(self) -> dict:
98 return {
99 "url": quart.url_for("get_asset", id=self.id, _external=True),
100 "browser_download_url": "https://github.invalid/unneeded",
101 "id": self.id,
102 "node_id": "fakenode",
103 "name": self.name,
104 "label": self.label,
105 "state": "uploaded",
106 "content_type": "application/octet-stream",
107 "size": 1000,
108 "download_count": 1000,
109 "created_at": "2020-01-01T00:00:00Z",
110 "updated_at": "2020-01-01T00:00:00Z",
111 "uploader": None,
112 }
113
114
115@dataclasses.dataclass

Callers 7

renderMethod · 0.45
get_release_by_tagFunction · 0.45
list_releasesFunction · 0.45
get_release_by_idFunction · 0.45
upload_assetFunction · 0.45
get_assetFunction · 0.45
write_dockerfilesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected