code: def __call__(
      self,
      schema: Union[dict, List[dict]],
      prefix: str = "",
      *,
      _path: Sequence[str] = (),
  ) -> str:
      if isinstance(schema, list):
          return self._handle_list(schema, prefix, _path)
  
      filtered = self._filter_unecessary(schema, _path)
      simple = self._handle_simple_dict(filtered, _path)
      if simple:
          return f"{prefix}{simple}"
  
      child_prefix = self._child_prefix(prefix, "  ")
      item_prefix = self._child_prefix(prefix, "- ")
      indent = len(prefix) * " "
      with io.StringIO() as buffer:
          for i, (key, value) in enumerate(filtered.items()):
              child_path = [*_path, key]
              line_prefix = prefix if i == 0 else indent
              buffer.write(f"{line_prefix}{self._label(child_path)}:")
              # ^  just the first item should receive the complete prefix
              if isinstance(value, dict):
                  filtered = self._filter_unecessary(value, child_path)
                  simple = self._handle_simple_dict(
                      filtered, child_path
                  )
                  buffer.write(
                      f" {simple}"
                      if simple
                      else f"\n{self(value, child_prefix, _path=child_path)}"
                  )
              elif isinstance(value, list) and (
                  key != "type" or self._is_property(child_path)
              ):
                  children = self._handle_list(
                      value, item_prefix, child_path
                  )
                  sep = " " if children.startswith("[") else "\n"
                  buffer.write(f"{sep}{children}")
              else:
                  buffer.write(f" {self._value(value, child_path)}\n")
          return buffer.getvalue()
  
imports: import io
  import json
  import logging
  import os
  import re
  from contextlib import contextmanager
  from textwrap import indent, wrap
  from typing import Any, Dict, Iterator, List, Optional, Sequence, Union, cast
  from .fastjsonschema_exceptions import JsonSchemaValueException
label_desc: Use image node_id 3 for calling the _SummaryWriter obj's underlying member method code with example usage: obj.__call__(schema, prefix) and returns: self, prefix, simple, buffer