(self, dependency)
return [self._validate_subordinate(sub) for sub in dep_list]
Gets list of units from a dependency.
Gets list of units from a dependency.
Gets list of units from a dependency .
def _get_units(self, dependency):
    """Gets list of units from a dependency."""
    dep_list = []
    if isinstance(dependency, dict):
      dep_list.extend(dependency.values())
    else:
      dep_list.append(dependency)
    return [self._validate_subordinate(sub) for sub in dep_list]
def _get_units ( self , dependency ) : dep_list = [ ] if isinstance ( dependency , dict ) : dep_list . extend ( dependency . values ( ) ) else : dep_list . append ( dependency ) return [ self . _validate_subordinate ( sub ) for sub in dep_list ]