benchling_api_client.models.blob_create module

class BlobCreate

Bases: object

__init__(data64: str, md5: str, name: str, type: BlobCreateType, mime_type: Union[benchling_api_client.types.Unset, str] = attr_dict['_mime_type'].default) None

Method generated by attrs for class BlobCreate.

property data64: str

base64 encoded file contents

classmethod from_dict(src_dict: Dict[str, Any]) benchling_api_client.models.blob_create.T
property md5: str

The MD5 hash of the blob part. Note: this should be the hash of the raw data of the blob part, not the hash of the base64 encoding.

property mime_type: str

eg. application/jpeg

property name: str

Name of the blob

to_dict() Dict[str, Any]
property type: BlobCreateType

One of RAW_FILE or VISUALIZATION. If VISUALIZATION, the blob may be displayed as an image preview.