code: def SetInputSourceConfiguration(self, configuration):
      
      mount_path = configuration.mount_path
  
      # Remove a trailing path separator from the mount path so the relative
      # paths will start with a path separator.
      if mount_path and mount_path.endswith(os.sep):
        mount_path = mount_path[:-1]
  
      self._mount_path = mount_path
docs: Sets the input source configuration settings.
  
      Args:
        configuration (InputSourceConfiguration): input source configuration.