Skip to content

Commit 589b2f2

Browse files
committed
Document pull request attributes of issue objects.
1 parent ba063e0 commit 589b2f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

github2/issues.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class Issue(BaseData):
1515
created_at = DateAttribute("The date this issue was created.")
1616
closed_at = DateAttribute("The date this issue was closed.")
1717
updated_at = DateAttribute("The date when this issue was last updated.")
18+
diff_url = Attribute("URL for diff output associated with this issue.")
19+
patch_url = Attribute("URL for format-patch associated with this issue.")
20+
pull_request_url = Attribute("URL for the issue's related pull request.")
1821

1922
def __repr__(self):
2023
return "<Issue: %s>" % self.title.encode('utf-8')

0 commit comments

Comments
 (0)