singlestoredb.management.workspace.Stage.rename¶
- Stage.rename(old_path: str | PathLike[str], new_path: str | PathLike[str], *, overwrite: bool = False) FilesObject ¶
Move the stage file to a new location.
Paraemeters¶
- old_pathPath or str
Original location of the path
- new_pathPath or str
New location of the path
- overwritebool, optional
Should the
new_path
be overwritten if it exists already?