mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
Adding new attributes to IssueEvent (#857)
See Issue #855 The class [IssueEvent](https://github.com/PyGithub/PyGithub/blob/master/github/IssueEvent.py) is missing a large number of attributes documented in the [API](https://developer.github.com/v3/issues/events/). This is also commented about in #653 to a degree 27 of the tests 27 known event types have tests. **Currently Tested using Issue #30** - [x] subscribed - [x] assigned - [x] referenced - [x] closed - [x] labeled **Currently Tested using Issue/PR #538** - [x] merged - [x] mentioned - [x] review_requested **Currently Tested using Issue/PR #857** - [x] reopened - [x] unassigned - [x] unlabeled - [x] renamed - [x] base_ref_changed - [x] head_ref_deleted - [x] head_ref_restored - [x] milestoned - [x] demilestoned - [x] locked - [x] unlocked - [x] review_dismissed - [x] review_request_removed - [x] marked_as_duplicate - [x] unmarked_as_duplicate - [x] added_to_project - [x] moved_columns_in_project - [x] removed_from_project - [x] converted_note_to_issue - Note: this event is tied into Issue #866 This PR is now ready to be merged
This commit is contained in:
committed by
Wan Liuyang
parent
de6b713b05
commit
7ac2a2ac97
@@ -3,7 +3,7 @@ GET
|
||||
api.github.com
|
||||
None
|
||||
/repos/jacquev6/PyGithub/issues/events
|
||||
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
||||
{'Accept': 'application/vnd.github.sailor-v-preview+json', 'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
||||
None
|
||||
200
|
||||
[('status', '200 OK'), ('x-ratelimit-remaining', '4923'), ('content-length', '85910'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('link', '<https://api.github.com/repos/jacquev6/PyGithub/issues/events?page=2>; rel="next", <https://api.github.com/repos/jacquev6/PyGithub/issues/events?page=3>; rel="last"'), ('etag', '"7ad8520585258c37864643b4719cbecc"'), ('date', 'Sun, 27 May 2012 07:11:23 GMT'), ('content-type', 'application/json; charset=utf-8')]
|
||||
|
||||
Reference in New Issue
Block a user