def upload_bytes(
        self,
        data_bytes,
        file_name,
        content_type=None,
        file_infos=None,
        progress_listener=None
    ):
        upload_source = UploadSourceBytes(data_bytes)
        return self.upload(upload_source, file_name, content_type, file_infos, progress_listener)
Upload bytes in memory to a B2 file
dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/b2/bucket.py/Bucket.upload_bytes