iqm.station_control.client.serializers.channel_property_serializer.deserialize_channel_properties

iqm.station_control.client.serializers.channel_property_serializer.deserialize_channel_properties#

deserialize_channel_properties(channel_property_dictionary, convert_instructions=True)#

Convert the given protobuf dictionary of channel properties into a dictionary of ChannelProperties.

Parameters:
  • channel_properties_dictionary – channel property dictionary in protobuf format

  • convert_instructions (bool) – whether to convert string representation of instruction types to actual python types.

  • channel_property_dictionary (ChannelPropertyDictionary) –

Returns:

dictionary of channel properties

Return type:

dict[str, ChannelProperties]