def __init__()

in libmozdata/BZInfo.py [0:0]


    def __init__(self, bugids):
        """Constructor

        Args:
            bugids (List[str]): list of bug ids or search query
        """
        super(BZInfo, self).__init__(
            bugids,
            include_fields=[
                "id",
                "severity",
                "component",
                "product",
                "creator",
                "assigned_to",
            ],
            bughandler=self.__bug_handler,
            historyhandler=self.__history_handler,
        )
        #                             commenthandler=self.__comment_handler)
        self.info = {}
        for bugid in self.bugids:
            self.info[bugid] = {
                "ownership": [],
                "reviewers": set(),
                "commenters": {},
                "authorized": False,
            }
        self.reply_pattern = re.compile(r"^\(In reply to .* comment #([0-9]+)\)")
        self.dupbug_pattern = re.compile(
            r"\*\*\* Bug [0-9]+ has been marked as a duplicate of this bug. \*\*\*"
        )
        self.review_pattern = re.compile(r"review\?\(([^\)]+)\)")
        self.needinfo_pattern = re.compile(r"needinfo\?\(([^\)]+)\)")
        self.feedback_pattern = re.compile(r"feedback\?\(([^\)]+)\)")
        self.get_data()