D | transitive_dependencies.py | 23 def get_lib(libs, name): argument 25 return next(lib for lib in libs if lib['name'] == name) 30 def transitive_deps(lib, libs): argument 35 set(transitive_deps(get_lib(libs, dep), libs)) 49 libs = dictionary.get('libs') 54 target['transitive_deps'] = transitive_deps(target, libs) 58 python_dependencies, libs))
|