#NEWLINE# @ utils . auto_retry #NEWLINE# def update( self ) : #NEWLINE# #INDENT# for ( hook_name , hook ) in self . hooks . items ( ) : #NEWLINE# #INDENT# subhooks = self . subhooks [ hook_name ] #NEWLINE# ( updated , new_data ) = hook . handle ( self . client , subhooks ) #NEWLINE# if updated : #NEWLINE# #INDENT# self . pattern . hook_changed ( hook_name , new_data )