Skip to content

Cannot get answer revisions #68

Description

@graipher

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions