diff options
Diffstat (limited to 'pygithub3')
-rw-r--r-- | pygithub3/resources/issues.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygithub3/resources/issues.py b/pygithub3/resources/issues.py index ce5b304..e864e79 100644 --- a/pygithub3/resources/issues.py +++ b/pygithub3/resources/issues.py @@ -7,7 +7,7 @@ from .users import User class Issue(Resource): _dates = ('created_at', 'updated_at') - _maps = {'assignee': User} + _maps = {'assignee': User, 'user': User} def __str__(self): return '<Issue (%s)>' % getattr(self, 'number', '') @@ -15,7 +15,7 @@ class Issue(Resource): class Comment(Resource): - _dates = ('created_at', 'update_at') + _dates = ('created_at', 'updated_at') _maps = {'user': User} def __str__(self): @@ -25,7 +25,7 @@ class Comment(Resource): class Event(Resource): _dates = ('created_at', ) - _maps = {'actor': User} + _maps = {'actor': User, 'issue': Issue} def __str__(self): return '<Event (%s)>' % (getattr(self, 'commit_id', ''))
\ No newline at end of file |