@classmethod
    def from_re_match(cls, match):
        kwargs = match.groupdict()
        if not match.string.startswith('Bad'):
            kwargs['passed'] = True
        return cls(**kwargs)
Create an effect instance out of properties.
dataset/ETHPy150Open pmrowla/pysrcds/srcds/events/generic.py/RconEvent.from_re_match--crossover with--dataset/ETHPy150Open pycollada/pycollada/collada/material.py/Effect.__init__