code: def add_resource(self, name, file_path, ind_obj):
          
          new_resource = Resource(name=name, individual=ind_obj, path=file_path)
          self.session.add(new_resource)
          self.save()
          return new_resource
docs: Link a resource to an individual.