class_docstr: Return a value for a global setting according to configuration precedence.
  
  The following methods are searched in order for the setting:
  
  7. immediately supplied values
  6. previously user-set values (e.g. set from command line)
  5. user-specified config override file
  4. environment variable
  3. local user config file
  2. global system config file (not yet implemented)
  1. local defaults
  0. global defaults
  
  Ref: https://stackoverflow.com/a/11077282/3406693
  
  If a value cannot be determined, a ValueError is raised.
  
  The ``env_var`` argument specifies the name of an environment to check for
  setting values, e.g. ``"BOKEH_LOG_LEVEL"``.
  
  The optional ``default`` argument specified an implicit default value for
  the setting that is returned if no other methods provide a value.
  
  A ``convert`` agument may be provided to convert values before they are
  returned. For instance to concert log levels in environment variables
  to ``logging`` module values.
class_docstr_tok: ["Return","a","value","for","a","global","setting","according","to","configuration","precedence",".","The","following","methods","are","searched","in","order","for","the","setting",":","7.","immediately","supplied","values","6.","previously","user-set","values","(","e.g",".","set","from","command","line",")","5.","user-specified","config","override","file","4.","environment","variable","3.","local","user","config","file","2.","global","system","config","file","(","not","yet","implemented",")","1.","local","defaults","0.","global","defaults","Ref",":","https",":","\/\/stackoverflow.com\/a\/11077282\/3406693","If","a","value","can","not","be","determined",",","a","ValueError","is","raised",".","The","``","env_var","``","argument","specifies","the","name","of","an","environment","to","check","for","setting","values",",","e.g",".","``","``","BOKEH_LOG_LEVEL","''","``",".","The","optional","``","default","``","argument","specified","an","implicit","default","value","for","the","setting","that","is","returned","if","no","other","methods","provide","a","value",".","A","``","convert","``","agument","may","be","provided","to","convert","values","before","they","are","returned",".","For","instance","to","concert","log","levels","in","environment","variables","to","``","logging","``","module","values","."]
code: def convert_type(self) -> str:
      if self._convert is convert_str:
          return "String"
      if self._convert is convert_bool:
          return "Bool"
      if self._convert is convert_int:
          return "Int"
      if self._convert is convert_logging:
          return "Log Level"
      if self._convert is convert_str_seq:
          return "List[String]"
      if self._convert is convert_validation:
          return "Validation Level"
      if self._convert is convert_ico_path:
          return "Ico Path"
      raise RuntimeError("unreachable")
  
imports: from __future__ import annotations
  import logging
  import os
  from os.path import join
  from pathlib import Path
  from typing import TYPE_CHECKING, Any, Callable, Generic, Literal, Sequence, TypeVar, Union, cast
  import yaml
  from .util.deprecation import deprecated
  from .util.paths import bokehjs_path, server_path
label_desc: Use image node_id 13 for calling the PrioritizedSetting obj's underlying member method code with example usage: obj.convert_type() and returns: str, str, str, str, str, str, str