code: def channel_value_type_to_operation(
      channel_value_type: ChannelValueType,
  ) -> alpha_operation.Operation:
      _channel_value_type_to_operation = {
          ChannelValueType.TEXT_VALUE: alpha_operation.LogStrings,
          ChannelValueType.NUMERIC_VALUE: alpha_operation.LogFloats,
          ChannelValueType.IMAGE_VALUE: alpha_operation.LogImages,
      }
      return _map_using_dict(
          channel_value_type,
          "channel value type",
          _channel_value_type_to_operation,
      )
  
imports: import abc
  from collections import namedtuple
  from neptune.attributes import constants
  from neptune.internal import operation
  from neptune.internal.backends.api_model import AttributeType
  from neptune.internal.operation import ImageValue
  from neptune.legacy.exceptions import NeptuneException
  from neptune.legacy.internal.channels.channels import ChannelType, ChannelValueType
label_desc: Use image node_id 4 for calling a global function with example usage: channel_value_type_to_operation(channel_value_type) and returns: _map_using_dict