#NEWLINE# def reload( self ) : #NEWLINE# #INDENT# start = time . time ( ) #NEWLINE# logger . info ( 'loading the create-collection page' ) #NEWLINE# resp = requests . get ( ( webapp_url + '/create' ) ) #NEWLINE# if ( self . status_code == 200 ) : #NEWLINE# #INDENT# elapsed = ( time . time ( ) - start ) #NEWLINE# logger . info ( 'loaded the create-collection page in {elapsed} seconds.' . format ( elapsed = elapsed ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logger . warning ( 'create-collection page failed to load!' ) #NEWLINE# #UNINDENT# self . aliases = [ ] #NEWLINE# self . collection_name = 'My collection'