class_docstr: Extract type annotations from a callable, returning None whenever there
  is none.
docstr: Return the type annotation of the first argument if it's not empty.
docstr_tok: ["Return","the","type","annotation","of","the","first","argument","if","it","'s","not","empty","."]
code: def get_first_param_type(self):
      """
      Return the type annotation of the first argument if it's not empty.
      """
      if not self.sig:
          return None
  
      params = list(self.sig.parameters.values())
      if params and params[0].annotation is not inspect.Parameter.empty:
          return params[0].annotation
  
      return None
  
file_path: catboost/contrib/python/attrs/py3/attr/_compat.py
imports: import inspect
  import platform
  import sys
  import threading
  from collections.abc import Mapping, Sequence
  from typing import _GenericAlias
label_desc: Use image node_id 2 for calling the _AnnotationExtractor obj's underlying member method code with example usage: obj.get_first_param_type() and returns: None, None, params