Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38de787

Browse files
Merge pull requestsigmavirus24#570 from DonnchaC/release-browser-download-url
Include browser_download_url attribute with Asset object
2 parents5477506 +717fe78 commit38de787

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎github3/repos/release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ def _update_attributes(self, asset):
195195
#: URL to download the asset.
196196
#: Request headers must include ``Accept: application/octet-stream``.
197197
self.download_url=self._api
198+
# User friendly download URL
199+
self.browser_download_url=asset.get('browser_download_url')
198200
#: GitHub id of the asset
199201
self.id=asset.get('id')
200202
#: Short description of the asset

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp