#NEWLINE# def _inject_deps( self , acc , service ) : #NEWLINE# #INDENT# dep_names = service . get_dependency_names ( ) #NEWLINE# if ( len ( dep_names ) > 0 ) : #NEWLINE# #INDENT# dep_services = self . get_services ( service_names = list ( set ( dep_names ) ) , include_deps = True ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# dep_services = [ ] #NEWLINE# #UNINDENT# dep_services . append ( service ) #NEWLINE# return ( acc + dep_services )