code: def write(self, data):
      if self._data is None:
          self._data = data
      else:
          self._data += data
      lines = self.__SPLIT_PATTERN.split(self._data)
      for line in lines[:-1]:
          value = ChannelValue(
              x=self._x_offset.next(),
              y=dict(text_value=str(line)),
              ts=None,
          )
          self._experiment._channels_values_sender.send(
              channel_name=self._channel_name,
              channel_type=ChannelType.TEXT.value,
              channel_value=value,
              channel_namespace=self._channel_namespace,
          )
  
      self._data = lines[-1]
  
file_path: neptune-client/src/neptune/legacy/internal/streams/channel_writer.py
imports: from __future__ import unicode_literals
  import re
  from datetime import datetime
  from neptune.legacy.internal.channels.channels import ChannelNamespace, ChannelType, ChannelValue
label_desc: Use image node_id 2 for calling the ChannelWriter obj's underlying member method code with example usage: obj.write(data) without return types