Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from ..mixins.replyable import ReplyableMixin
from ..mixins.savable import SavableMixin
from ..mixins.subreddit import SubredditMixin
from ..mixins.votable import VotableMixin
from ..subreddit.subreddit import Subreddit
from ...const import API_PATH
from ...utils import prepend_kind, snake_case_keys, ExponentialCounter
if TYPE_CHECKING:
from ...reddit import Reddit
from .submission import Submission
from ..helpers.comment_forrest import CommentForrest
@all_reactive(not_type=(aPRAWBase, datetime, PostModeration))
class Comment(aPRAWBase, DeletableMixin, HideableMixin, ReplyableMixin, SavableMixin, VotableMixin, AuthorMixin,
SubredditMixin, ReactiveOwner):
"""
The model representing comments.
Members
-------
mod: CommentModeration
The :class:`~apraw.models.CommentModeration` instance to aid in moderating the comment.
kind: str
The item's kind / type.
url: str
The URL pointing to this comment.
**Typical Attributes**
This table describes attributes that typically belong to objects of this