mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
15 lines
485 B
Python
15 lines
485 B
Python
from GithubObject import *
|
|
|
|
Download = GithubObject(
|
|
"Download",
|
|
BaseUrl( lambda obj: obj._repo._baseUrl() + "/downloads/" + str( obj.id ) ),
|
|
InternalSimpleAttributes(
|
|
"url", "html_url", "id", "name", "description", "size",
|
|
"download_count", "content_type", "policy", "signature", "bucket",
|
|
"accesskeyid", "path", "acl", "expirationdate", "prefix", "mime_type",
|
|
"redirect", "s3_url", "created_at",
|
|
"_repo",
|
|
),
|
|
Deletable(),
|
|
)
|