Py-StackExchange icon indicating copy to clipboard operation
Py-StackExchange copied to clipboard

Cannot get answer revisions

Open graipher opened this issue 7 years ago • 0 comments

While trying to take a look at an answers revisions, I encountered this:

import stackexchange
se = stackexchange.Site("CodeReview", API_KEY)
user = se.user(USER_ID)
a = user.answers.fetch()[0]
a.revisions.fetch()

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/stackexchange/models.py", line 41, in __repr__

AttributeError: 'PostRevision' object has no attribute 'is_question'

graipher avatar Jan 16 '18 14:01 graipher