8000 Update Gist instances with the truncated attribute · jmatt/github3.py@27a4267 · GitHub
[go: up one dir, main page]

Skip to content

Commit 27a4267

Browse files
committed
Update Gist instances with the truncated attribute
1 parent b4a2783 commit 27a4267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

github3/gists/gist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def __init__(self, data, session=None):
9898
#: Forks URL (not a template)
9999
self.forks_url = data.get('forks_url', '')
100100

101+
#: Whether the content of this Gist has been truncated or not
102+
self.truncated = data.get('truncated')
103+
101104
def __str__(self):
102105
return self.id
103106

0 commit comments

Comments
 (0)
0