8000 Add warning to Download class. · palfrey/github3.py@4005d47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4005d47

Browse files
committed
Add warning to Download class.
1 parent a53d59d commit 4005d47

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

github3/repos.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,12 @@ def html_url(self):
13741374
class Download(GitHubCore):
13751375
"""The :class:`Download <Download>` object. It represents how GitHub sends
13761376
information about files uploaded to the downloads section of a repository.
1377+
1378+
.. warning::
1379+
1380+
90 days from 2012-12-11, this API will be deprecated by GitHub. There
1381+
will also be a new version of github3.py to accompany this at that
1382+
date.
13771383
"""
13781384

13791385
def __init__(self, download, session=None):

0 commit comments

Comments
 (0)
0