Ask a question to get started
Enter to sendā¢Shift+Enter new line
from_data( cls, data: str | bytes, *, encoding: str = 'utf-8'
data
str | bytes
The in-memory data associated with the Blob
Blob
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
path
metadata
dict | None
Initialize the Blob from in-memory data.
If provided, will be set as the source from which the data came
Metadata to associate with the Blob