code: def inspect(
      self, func: Callable, pop_first: bool = False
  ) -> Dict[str, Any]:
      params = inspect.signature(func).parameters
      params = OrderedDict(params)
      if pop_first:
          params.popitem(last=False)
      self.params[func.__name__] = params
  
file_path: AutoGL/autogl/module/nas/space/gasso_space/utils/inspector.py
imports: import re
  import inspect
  from collections import OrderedDict
  from typing import Dict, List, Any, Optional, Callable, Set
  from .typing import parse_types
label_desc: Use image node_id 2 for calling the Inspector obj's underlying member method code with example usage: obj.inspect(func, pop_first) without return types