parameters: (self, dependencies=None)
return_statement: return dependencies
docstring: Returns a list of just direct dependencies.
docstring_summary: Returns a list of just direct dependencies.
docstring_tokens: Returns a list of just direct dependencies .
function: def DirectDependencies(self, dependencies=None):
      """Returns a list of just direct dependencies."""
      if dependencies == None:
        dependencies = []
  
      for dependency in self.dependencies:
        # Check for None, corresponding to the root node.
        if dependency.ref != None and dependency.ref not in dependencies:
          dependencies.append(dependency.ref)
  
      return dependencies
function_tokens: def DirectDependencies ( self , dependencies = None ) : if dependencies == None : dependencies = [ ] for dependency in self . dependencies : # Check for None, corresponding to the root node. if dependency . ref != None and dependency . ref not in dependencies : dependencies . append ( dependency . ref ) return dependencies