code: def compute_reverse_dependencies(
          self, targets: Iterable[BuildTarget]
      ) -> Mapping[str, Iterable[BuildTarget]]:
          
          result = defaultdict(list)
          for target in targets:
              for dependency in target.dependencies:
                  result[dependency].append(target)
          return result
docs: Compute the set of targets which depend on each target.