

@classmethod
def _parse_buses(cls, data):
    buses = {
        
    }
    for (bus_name, bus_data) in data.get('buses', {
        
    }).items():
        buses[bus_name] = CanBus(name=bus_name, default_raw_can_mode=data.get('raw_can_mode', 'off'), default_max_message_frequency=data.get('max_message_frequency', 0), **data)
        if (buses[bus_name].speed is None):
            fatal_error(("Bus %s is missing the 'speed' attribute" % bus_name))
    return buses

dataset/ETHPy150Open openxc/openxc-python/openxc/generator/message_sets.py JsonMessageSet._parse_buses/VarMisuse@81/120 `bus_data`->`data`