singlestoredb.management.workspace.StageObject.rename

StageObject.rename(new_path: str | PathLike[str], *, overwrite: bool = False) None

Move the stage file to a new location.

Parameters:
  • new_path (Path or str) – The new location of the file

  • overwrite (bool, optional) – Should path be overwritten if it already exists?