(self, dependencies, file_type=None)
return ret
Extract the file paths from a list of dependencies.

    Args:
      dependencies: (list(str)) list of dependencies from a Features object
      file_type: (str) If specified, only extract paths for that file type.
    Returns:
      set(str): The set of file paths required for this dependency set.
Extract the file paths from a list of dependencies.
Extract the file paths from a list of dependencies .
def ExtractPathsFromDependencies(self, dependencies, file_type=None):
    """Extract the file paths from a list of dependencies.

    Args:
      dependencies: (list(str)) list of dependencies from a Features object
      file_type: (str) If specified, only extract paths for that file type.
    Returns:
      set(str): The set of file paths required for this dependency set.
    """
    ret = set()
    for d in dependencies or []:
      for f in d.get('files') or []:
        p = f.get('path')
        if p and (file_type is None or file_type == f.get('type')):
          ret.add(p)
    return ret
def ExtractPathsFromDependencies ( self , dependencies , file_type = None ) : ret = set ( ) for d in dependencies or [ ] : for f in d . get ( 'files' ) or [ ] : p = f . get ( 'path' ) if p and ( file_type is None or file_type == f . get ( 'type' ) ) : ret . add ( p ) return ret