code: def with_name(self, name):
          
          obj = super(ArtifactoryPath, self).with_name(name)
          obj.auth = self.auth
          obj.verify = self.verify
          obj.cert = self.cert
          obj.session = self.session
          return obj
docs: Return a new path with the file name changed.