(self, dependencies=None)
return dependencies
Returns a list of just direct dependencies.
Returns a list of just direct dependencies.
Returns a list of just direct dependencies .
def DirectDependencies(self, dependencies=None):
        """Returns a list of just direct dependencies."""
        if dependencies is None:
            dependencies = []

        for dependency in self.dependencies:
            # Check for None, corresponding to the root node.
            if dependency.ref and dependency.ref not in dependencies:
                dependencies.append(dependency.ref)

        return dependencies
def DirectDependencies ( self , dependencies = None ) : if dependencies is None : dependencies = [ ] for dependency in self . dependencies : # Check for None, corresponding to the root node. if dependency . ref and dependency . ref not in dependencies : dependencies . append ( dependency . ref ) return dependencies