parameters: (self, name, implicit=True)
return_statement: return depends_on
docstring: Get resources that depend on a resource.  If implicit is ``True``, this
          includes implicit (recursive) dependency relationships.
  
          NOTE: this does *not* raise :exc:`rospkg.InvalidManifest` if
          there are invalid manifests found.
  
          :param name: resource name, ``str``
          :param implicit: include implicit (recursive) dependencies, ``bool``
  
          :returns: list of names of dependencies, ``[str]``
docstring_summary: Get resources that depend on a resource.  If implicit is ``True``, this
          includes implicit (recursive) dependency relationships.
docstring_tokens: Get resources that depend on a resource . If implicit is True this includes implicit ( recursive ) dependency relationships .
function: def get_depends_on(self, name, implicit=True):
          """
          Get resources that depend on a resource.  If implicit is ``True``, this
          includes implicit (recursive) dependency relationships.
  
          NOTE: this does *not* raise :exc:`rospkg.InvalidManifest` if
          there are invalid manifests found.
  
          :param name: resource name, ``str``
          :param implicit: include implicit (recursive) dependencies, ``bool``
  
          :returns: list of names of dependencies, ``[str]``
          """
          depends_on = []
          if not implicit:
              # have to examine all dependencies
              for r in self.list():
                  if r == name:
                      continue
                  try:
                      m = self.get_manifest(r)
                      if any(d for d in m.depends if d.name == name):
                          depends_on.append(r)
                  except InvalidManifest:
                      # robust to bad packages
                      pass
                  except ResourceNotFound:
                      # robust to bad packages
                      pass
          else:
              # Computing implicit dependencies requires examining the
              # dependencies of all packages.  As we already implement
              # this logic in get_depends(), we simply reuse it here for
              # the reverse calculation.  This enables us to use the
              # same dependency cache that get_depends() uses.  The
              # efficiency is roughly the same due to the caching.
              for r in self.list():
                  if r == name:
                      continue
                  try:
                      depends = self.get_depends(r, implicit=True)
                      if name in depends:
                          depends_on.append(r)
                  except InvalidManifest:
                      # robust to bad packages
                      pass
                  except ResourceNotFound:
                      # robust to bad packages
                      pass
          return depends_on
function_tokens: def get_depends_on ( self , name , implicit = True ) : depends_on = [ ] if not implicit : # have to examine all dependencies for r in self . list ( ) : if r == name : continue try : m = self . get_manifest ( r ) if any ( d for d in m . depends if d . name == name ) : depends_on . append ( r ) except InvalidManifest : # robust to bad packages pass except ResourceNotFound : # robust to bad packages pass else : # Computing implicit dependencies requires examining the # dependencies of all packages.  As we already implement # this logic in get_depends(), we simply reuse it here for # the reverse calculation.  This enables us to use the # same dependency cache that get_depends() uses.  The # efficiency is roughly the same due to the caching. for r in self . list ( ) : if r == name : continue try : depends = self . get_depends ( r , implicit = True ) if name in depends : depends_on . append ( r ) except InvalidManifest : # robust to bad packages pass except ResourceNotFound : # robust to bad packages pass return depends_on