singlestoredb.management.workspace.Stage.download_file¶
- Stage.download_file(stage_path: str | PathLike[str], local_path: str | PathLike[str] | None = None, *, overwrite: bool = False, encoding: str | None = None) bytes | str | None¶
Download the content of a stage path.
- Parameters:
- Returns:
bytes or str -
local_pathis NoneNone -
local_pathis a Path or str