def __init__(self, data):
        self.db_id = data.id
        self.text = data.comment
        self.creation_date = data.creation_date
        self.author = component.Component(usermanager.UserManager.get_app_user(data.author.username, data=data.author))
        self.comment_label = component.Component(Commentlabel(self))
        self.comment_label.on_answer(lambda v: self.comment_label.call(model='edit'))
Initialization
dataset/ETHPy150Open Net-ng/kansha/kansha/card_addons/comment/comp.py/Comment.__init__