@classmethod
    def from_doc(cls, doc):
        params = {}
        for _key, _value in doc.items():
            if _key == '_metadata':
                continue
            elif _value:
                params[_key] = TargetingCriterion.from_doc(_value)

        return cls(**params)
Returns the elements of a that are not in b.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/targeting.py/TargetingData.from_doc--crossover with--dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.set_subtract