parameters: (self, view_name)
return_statement: return unique_deps
docstring: :raises: :exc:`KeyError` if *view_name* is not an entry, or if
            all of view's dependencies have not been properly loaded.
docstring_summary: :raises: :exc:`KeyError` if *view_name* is not an entry, or if
            all of view's dependencies have not been properly loaded.
docstring_tokens: : raises : : exc : KeyError if * view_name * is not an entry or if all of view s dependencies have not been properly loaded .
function: def get_view_dependencies(self, view_name):
          """
          :raises: :exc:`KeyError` if *view_name* is not an entry, or if
            all of view's dependencies have not been properly loaded.
          """
          entry = self.get_view_data(view_name)
          dependencies = entry.view_dependencies[:]
          # compute full set of dependencies by iterating over
          # dependencies in reverse order and prepending.
          for s in reversed(entry.view_dependencies):
              dependencies = self.get_view_dependencies(s) + dependencies
          # make unique preserving order
          unique_deps = []
          for d in dependencies:
              if not d in unique_deps:
                  unique_deps.append(d)
          return unique_deps
function_tokens: def get_view_dependencies ( self , view_name ) : entry = self . get_view_data ( view_name ) dependencies = entry . view_dependencies [ : ] # compute full set of dependencies by iterating over # dependencies in reverse order and prepending. for s in reversed ( entry . view_dependencies ) : dependencies = self . get_view_dependencies ( s ) + dependencies # make unique preserving order unique_deps = [ ] for d in dependencies : if not d in unique_deps : unique_deps . append ( d ) return unique_deps