libera_utils.packet_configs.get_packet_config#

libera_utils.packet_configs.get_packet_config(apid: LiberaApid) PacketConfiguration#

Get a PacketConfiguration instance by LiberaApid.

Parameters:

apid (LiberaApid) – The APID to look up the configuration for

Returns:

The configuration for the given APID

Return type:

PacketConfiguration

Raises:

KeyError – If no configuration is registered for the given APID