class_docstr: Class that defines methods for generating code from schemas
  
  Parameters
  ----------
  classname : string
      The name of the class to generate
  schema : dict
      The dictionary defining the schema class
  rootschema : dict (optional)
      The root schema for the class
  basename : string or list of strings (default: "SchemaBase")
      The name(s) of the base class(es) to use in the class definition
  schemarepr : CodeSnippet or object, optional
      An object whose repr will be used in the place of the explicit schema.
      This can be useful, for example, when the generated code should reference
      a predefined schema object. The user must ensure that the schema within
      the evaluated code is identical to the schema used to generate the code.
  rootschemarepr : CodeSnippet or object, optional
      An object whose repr will be used in the place of the explicit root
      schema.
  altair_classes_prefix : string, optional
  **kwargs : dict
      Additional keywords for derived classes.
code: def _get_signature_any_of(
      self, si: SchemaInfo, attr: str, indent: int
  ) -> List[str]:
      signatures = []
      for sub_si in si.anyOf:
          if sub_si.is_anyOf():
              # Recursively call method again to go a level deeper
              signatures.extend(
                  self._get_signature_any_of(sub_si, attr, indent)
              )
          else:
              signatures.extend(
                  self.get_signature(
                      attr, sub_si, indent, has_overload=True
                  )
              )
      return list(flatten(signatures))
  
imports: import re
  import textwrap
  from typing import Set, Final, Optional, List, Union, Dict, Tuple
  from dataclasses import dataclass
  from .utils import SchemaInfo, is_valid_identifier, indent_docstring, jsonschema_to_python_types, flatten
label_desc: Use image node_id 13 for calling the SchemaGenerator obj's underlying member method code with example usage: obj._get_signature_any_of(si, attr, indent) and returns: list