def all_dependencies(target, dep_context):
 for dep in target.closure(bfs=True, **dep_context.target_closure_kwargs):
  (yield dep)

def all_dependencies ( target , dep_context ) : for dep in target . closure ( bfs = True , ** dep_context . target_closure_kwargs ) : ( yield dep )
all transitive dependencies of the contexts target .