class_docstr: A wrapper for inspecting a JSON schema
class_docstr_tok: ["A","wrapper","for","inspecting","a","JSON","schema"]
code: def _get_description(self, include_sublevels: bool = False) -> str:
      desc = self.raw_schema.get(
          "description", self.schema.get("description", "")
      )
      if not desc and include_sublevels:
          for item in self.anyOf:
              sub_desc = item._get_description(include_sublevels=False)
              if desc and sub_desc:
                  raise ValueError(
                      "There are multiple potential descriptions which could"
                      + " be used for the currently inspected schema. You'll need to"
                      + " clarify which one is the correct one.\n"
                      + str(self.schema)
                  )
              if sub_desc:
                  desc = sub_desc
      return desc
  
imports: import keyword
  import re
  import subprocess
  import textwrap
  import urllib
  from typing import Any, Dict, Final, Iterable, List, Optional, Union
  from .schemapi import _resolve_references
label_desc: Use image node_id 22 for calling the SchemaInfo obj's underlying member method code with example usage: obj._get_description(include_sublevels) and returns: desc