class_docstr: This AST visitor is used to find dependencies of a JITFunction. This can
  be used to invalidate a JITFunction's hash when its source code -- or
  that of its dependencies -- changes.
class_docstr_tok: ["This","AST","visitor","is","used","to","find","dependencies","of","a","JITFunction",".","This","can","be","used","to","invalidate","a","JITFunction","'s","hash","when","its","source","code","--","or","that","of","its","dependencies","--","changes","."]
code: def __init__(self, globals, src) -> None:
      super().__init__()
      self.ret = hashlib.sha1(src.encode("utf-8")).hexdigest()
      self.globals = globals
  
imports: from __future__ import annotations, division
  import ast
  import hashlib
  import inspect
  import os
  import textwrap
  from collections import defaultdict, namedtuple
  from functools import cached_property
  from typing import Callable, Generic, Iterable, List, Optional, TypeVar, Union, cast, overload
  from ..runtime.driver import driver
label_desc: Use image node_id 1 to create a new DependenciesFinder object from inherited base classes: ast with example: obj = DependenciesFinder(globals, src)