Ask a question to get started
Enter to sendā¢Shift+Enter new line
from_path( cls, path: PathLike, *, encoding: str = 'utf-8', mime_type: str
path
PathLike
Path-like object to file to be read
encoding
str
'utf-8'
Encoding to use if decoding the bytes into a string
mime_type
str | None
None
If provided, will be set as the MIME type of the data
guess_type
bool
True
metadata
dict | None
Load the blob from a path like object.
If True, the MIME type will be guessed from the file extension, if a MIME type was not provided
Metadata to associate with the Blob
Blob