autoextract_poet.items.Comment¶
- class Comment(probability: Optional[float] = None, text: Optional[str] = None, datePublished: Optional[str] = None, datePublishedRaw: Optional[str] = None, upvoteCount: Optional[int] = None, downvoteCount: Optional[int] = None)[source]¶
Bases:
autoextract_poet.items.Item- __init__(probability: Optional[float] = None, text: Optional[str] = None, datePublished: Optional[str] = None, datePublishedRaw: Optional[str] = None, upvoteCount: Optional[int] = None, downvoteCount: Optional[int] = None) None¶
Method generated by attrs for class Comment.
Methods
__init__([probability, text, datePublished, ...])Method generated by attrs for class Comment.
from_dict(item)Read an item from a dictionary.
from_list(items)Read items from a list, invoking
from_dictfor each item in the listAttributes
probabilitytextdatePublisheddatePublishedRawupvoteCountdownvoteCount