@classmethod
    def from_re_match(cls, match):
        kwargs = match.groupdict()
        if match.string.find('say_team') >= 0:
            kwargs['say_team'] = True
        return cls(**kwargs)
Perform filtering on line
dataset/ETHPy150Open pmrowla/pysrcds/srcds/events/generic.py/ChatEvent.from_re_match--crossover with--dataset/ETHPy150Open adamhadani/logtools/logtools/_tail.py/_is_match_full