singlestoredb.management.files.FileSpace.download_file¶
- FileSpace.download_file(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 file path.
- Parameters:
- Returns:
bytes or str -
local_path
is NoneNone -
local_path
is a Path or str