Skip to main content

CachedPath

TypeSource

CachedPath(
type: "path",
path: str | os.PathLike
)

CachedPath is a TypedDict.

The string path or the path-like object specifying a file existing on the disk.

In this case, the CachedPath will only store the path. The file will be always read and streamed as binary file stream.

Keywords

KeyworkType
Description
type"path"The type os this cached data.
pathstr | os.PathLikeThe path to the file on the local disk.