docstr: Return the filesystem path for the component with the given name.
  
  If no such component is registered, or if the component exists but is
  being served from a URL, return None instead.
docstr_tok: ["Return","the","filesystem","path","for","the","component","with","the","given","name",".","If","no","such","component","is","registered",",","or","if","the","component","exists","but","is","being","served","from","a","URL",",","return","None","instead","."]
code: def get_component_path(self, name: str) -> Optional[str]:
      """Return the filesystem path for the component with the given name.
  
      If no such component is registered, or if the component exists but is
      being served from a URL, return None instead.
      """
      component = self._components.get(name, None)
      return component.abspath if component is not None else None
  
imports: import inspect
  import json
  import os
  import threading
  from typing import Any, Dict, Optional, Type, Union
  import streamlit
  from streamlit import type_util, util
  from streamlit.elements.form import current_form_id
  from streamlit.errors import StreamlitAPIException
  from streamlit.logger import get_logger
  from streamlit.proto.Components_pb2 import ArrowTable
  from streamlit.proto.Components_pb2 import SpecialArg
  from streamlit.proto.Element_pb2 import Element
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.runtime.scriptrunner import get_script_run_ctx
  from streamlit.runtime.state import NoValue, register_widget
  from streamlit.runtime.state.common import compute_widget_id
  from streamlit.type_util import to_bytes
label_desc: Use image node_id 5 for calling the ComponentRegistry obj's underlying member method code with example usage: obj.get_component_path(name) and returns: unknown