in aws_lambda_builders/path_resolver.py [0:0]
def _which(self):
exec_paths = []
for executable in [executable for executable in self.executables if executable is not None]:
paths = which(executable, executable_search_paths=self.executable_search_paths)
exec_paths.extend(paths)
if not exec_paths:
raise ValueError(
"Path resolution for runtime: {} of binary: " "{} was not successful".format(self.runtime, self.binary)
)
return exec_paths