code: def validate_no_duplicate_paths(self, resources):
          
          paths = set()
          for item in resources:
              file_name = item.get('path')
              if file_name in paths:
                  raise ValueError(
                      '%s path was specified more than once in the metadata' %
                      file_name)
              paths.add(file_name)
docs: ensure that the user has not provided duplicate paths in
              a list of resources.
  
              Parameters
              ==========
              resources: one or more resources to validate not duplicated