#NEWLINE# def freeze_bulk_import( self , name , params = None ) : #NEWLINE# #INDENT# '\n        TODO: add docstring\n        => True\n        ' #NEWLINE# params = ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } if ( params is None ) else params ) #NEWLINE# with self . post ( ( '/v3/bulk_import/freeze/%s' % urlquote ( str ( name ) ) ) , params ) as res : #NEWLINE# #INDENT# ( code , body ) = ( res . status , res . read ( ) ) #NEWLINE# if ( code != 200 ) : #NEWLINE# #INDENT# self . raise_error ( 'Freeze bulk import failed' , res , body ) #NEWLINE# #UNINDENT# return True