async def Client.download( asset: Asset, destination: str | PathLike[str], *, overwrite: bool = False,) -> PathAtomically download an asset to an exact local path.
Parameters
Section titled “Parameters”asset Asset The asset to resolve and download.
destination str | PathLike[str] The destination path. Missing parent directories are created.
overwrite bool Whether to replace an existing destination. Defaults to False.
Returns
Section titled “Returns”The destination as a Path.