code: def type_dependencies(t):
      if isinstance(t, TypeVar):
          return {t}
      else:
          return set().union(
              *[
                  type_dependencies(arg)
                  for arg in getattr(t, "__args__", [])
              ]
          )
  
file_path: catboost/contrib/python/pythran/pythran/types/signature.py
imports: from pythran.typing import List, Dict, Set, Fun, TypeVar
  from pythran.typing import Union, Iterable
label_desc: Use image node_id 1 for calling a global function with example usage: type_dependencies(t) and returns: unknown, set