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_path
is NoneNone -
local_path
is a Path or str