#NEWLINE# def upload_bytes( self , data_bytes , file_name , content_type = None , file_infos = None , progress_listener = None ) : #NEWLINE# #INDENT# '\n        Upload bytes in memory to a B2 file\n        ' #NEWLINE# upload_source = UploadSourceBytes ( file_infos ) #NEWLINE# return self . upload ( upload_source , file_name , content_type , file_infos , progress_listener )