code: def add_file(self, f):
          
  
          if not self.files:
              self.files = set()
  
          self.files.add(f)
  
          self.locations.set(f.type_)
docs: Add a partition identity as a child of a dataset identity.