code: def __init__(self, **kwargs):
      self._locale = {}
      self._nully = ""
      self._prefix = Prefix.none
      self._specifier = {
          "align": Align.default,
          "fill": "",
          "group": Group.no,
          "width": "",
          "padding": Padding.no,
          "precision": "",
          "sign": Sign.default,
          "symbol": Symbol.no,
          "trim": Trim.no,
          "type": Scheme.default,
      }
  
      valid_methods = [
          m
          for m in dir(self.__class__)
          if m[0] != "_" and m != "to_plotly_json"
      ]
  
      for kw, val in kwargs.items():
          if kw not in valid_methods:
              raise TypeError(
                  "{0} is not a format method. Expected one of".format(
                      kw
                  ),
                  str(list(valid_methods)),
              )
  
          getattr(self, kw)(val)
  
imports: import collections
label_desc: Use image node_id 1 to create a new Format object  with example: obj = Format()