class_docstr: A manager for kernel specs.
code: def _user_kernel_dir_default(self) -> str:
      return pjoin(self.data_dir, "kernels")
  
imports: from __future__ import annotations
  import json
  import os
  import re
  import shutil
  import typing
  import warnings
  from jupyter_core.paths import SYSTEM_JUPYTER_PATH, jupyter_data_dir, jupyter_path
  from traitlets import Bool, CaselessStrEnum, Dict, HasTraits, List, Set, Type, Unicode, observe
  from traitlets.config import LoggingConfigurable
  from .provisioning import KernelProvisionerFactory
label_desc: Use image node_id 2 for calling the KernelSpecManager obj's underlying member method code with example usage: obj._user_kernel_dir_default() and returns: pjoin