code: def __init__(self, _dict=dict, preserve=False, separator=","):
      super(TomlArraySeparatorEncoder, self).__init__(_dict, preserve)
      if separator.strip() == "":
          separator = "," + separator
      elif separator.strip(" \t\n\r,"):
          raise ValueError("Invalid separator for arrays")
      self.separator = separator
  
imports: import datetime
  import re
  import sys
  from decimal import Decimal
  from toml.decoder import InlineTableDict
label_desc: Use image node_id 1 to create a new TomlArraySeparatorEncoder object from inherited base classes: TomlEncoder with example: obj = TomlArraySeparatorEncoder(_dict, preserve, separator)