

def active_diagnostic_messages(self):
    for message in self.all_diagnostic_messages():
        if message.enabled:
            (yield message)

dataset/ETHPy150Open openxc/openxc-python/openxc/generator/message_sets.py MessageSet.active_diagnostic_messages/original