Skip to main content
replaced http://stackapps.com/ with https://stackapps.com/
Source Link
import stackexchange so =
stackexchange.Site(stackexchange.StackOverflow)
comment = so.comment(valid_comment_id)

the above code returns the following error in init.py:

    --->166         self.post_type = PostType.from_string(json.post_type)
        167 
        168         def _get_post(self):

AttributeError: DictObject instance has no attribute 'post_type'

I get the valid comment id returned from Firehose JSON streaming event serviceFirehose JSON streaming event service

import stackexchange so =
stackexchange.Site(stackexchange.StackOverflow)
comment = so.comment(valid_comment_id)

the above code returns the following error in init.py:

    --->166         self.post_type = PostType.from_string(json.post_type)
        167 
        168         def _get_post(self):

AttributeError: DictObject instance has no attribute 'post_type'

I get the valid comment id returned from Firehose JSON streaming event service

import stackexchange so =
stackexchange.Site(stackexchange.StackOverflow)
comment = so.comment(valid_comment_id)

the above code returns the following error in init.py:

    --->166         self.post_type = PostType.from_string(json.post_type)
        167 
        168         def _get_post(self):

AttributeError: DictObject instance has no attribute 'post_type'

I get the valid comment id returned from Firehose JSON streaming event service

Source Link

import stackexchange so =
stackexchange.Site(stackexchange.StackOverflow)
comment = so.comment(valid_comment_id)

the above code returns the following error in init.py:

    --->166         self.post_type = PostType.from_string(json.post_type)
        167 
        168         def _get_post(self):

AttributeError: DictObject instance has no attribute 'post_type'

I get the valid comment id returned from Firehose JSON streaming event service