@@ -534,11 +534,11 @@ def commits(self, sha=None, path=None, author=None, number=-1, etag=None,
534
534
:param str etag: (optional), ETag from a previous request to the same
535
535
endpoint
536
536
: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
538
538
date string.
539
539
:type since: datetime or string
540
540
: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
542
542
date string.
543
543
:type until: datetime or string
544
544
@@ -1283,12 +1283,14 @@ def imported_issue(self, imported_issue_id):
1283
1283
1284
1284
@requires_auth
1285
1285
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
1287
1289
1288
1290
:param int number: (optional), number of imported issues to return.
1289
1291
Default: -1 returns all branches
1290
1292
: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
1292
1294
date string.
1293
1295
:param str etag: (optional), ETag from a previous request to the same
1294
1296
endpoint
@@ -1297,7 +1299,7 @@ def imported_issues(self, number=-1, since=None, etag=None):
1297
1299
"""
1298
1300
1299
1301
data = {
1300
- 'since' : since
1302
+ 'since' : timestamp_parameter ( since )
1301
1303
}
1302
1304
1303
1305
self ._remove_none (data )
@@ -1423,7 +1425,7 @@ def issues(self, milestone=None, state=None, assignee=None, mentioned=None,
1423
1425
('created', 'updated', 'comments', 'created')
1424
1426
:param str direction: (optional), accepted values: ('asc', 'desc')
1425
1427
: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
1427
1429
date string, e.g., 2012-05-20T23:10:27Z
1428
1430
:type since: datetime or string
1429
1431
:param int number: (optional), Number of issues to return.
0 commit comments