8000 Included gist link in docstring for imported_issues · pythonthings/github3.py@f1a0b94 · GitHub
[go: up one dir, main page]

Skip to content

Commit f1a0b94

Browse files
Included gist link in docstring for imported_issues
1 parent 723bd8a commit f1a0b94

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

github3/repos/repo.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,11 @@ def commits(self, sha=None, path=None, author=None, number=-1, etag=None,
534534
:param str etag: (optional), ETag from a previous request to the same
535535
endpoint
536536
:param since: (optional), Only commits after this date will
537-
be returned. This can be a `datetime` or an `ISO8601` formatted
537+
be returned. This can be a ``datetime`` or an ``ISO8601`` formatted
538538
date string.
539539
:type since: datetime or string
540540
:param until: (optional), Only commits before this date will
541-
be returned. This can be a `datetime` or an `ISO8601` formatted
541+
be returned. This can be a ``datetime`` or an ``ISO8601`` formatted
542542
date string.
543543
:type until: datetime or string
544544
@@ -1283,12 +1283,14 @@ def imported_issue(self, imported_issue_id):
12831283

12841284
@requires_auth
12851285
def imported_issues(self, number=-1, since=None, etag=None):
1286-
"""Retrieve imported issues
1286+
"""Retrieve the collection of imported issues via the API.
1287+
1288+
See also: https://gist.github.com/jonmagic/5282384165e0f86ef105
12871289
12881290
:param int number: (optional), number of imported issues to return.
12891291
Default: -1 returns all branches
12901292
:param since: (optional), Only commits after this date will
1291-
be returned. This can be a `datetime` or an `ISO8601` formatted
1293+
be returned. This can be a ``datetime`` or an ``ISO8601`` formatted
12921294
date string.
12931295
:param str etag: (optional), ETag from a previous request to the same
12941296
endpoint
@@ -1297,7 +1299,7 @@ def imported_issues(self, number=-1, since=None, etag=None):
12971299
"""
12981300

12991301
data = {
1300-
'since': since
1302+
'since': timestamp_parameter(since)
13011303
}
13021304

13031305
self._remove_none(data)
@@ -1423,7 +1425,7 @@ def issues(self, milestone=None, state=None, assignee=None, mentioned=None,
14231425
('created', 'updated', 'comments', 'created')
14241426
:param str direction: (optional), accepted values: ('asc', 'desc')
14251427
:param since: (optional), Only issues after this date will
1426-
be returned. This can be a `datetime` or an `ISO8601` formatted
1428+
be returned. This can be a ``datetime`` or an ``ISO8601`` formatted
14271429
date string, e.g., 2012-05-20T23:10:27Z
14281430
:type since: datetime or string
14291431
:param int number: (optional), Number of issues to return.

0 commit comments

Comments
 (0)
0