def set_from_dict(self, dic): ''' @see UserEntity ''' UserPost.set_from_dict(self, dic) self.message = dic['message'] return self