#NEWLINE# def add_consumer( self , resource_dependency ) : #NEWLINE# #INDENT# ( tick , interval , interval_name ) = resource_dependency . provider . split ( '.' ) #NEWLINE# tick_interval = tick . _tick_intervals [ interval_name ] #NEWLINE# resource_dependency . on_resource_ready ( tick_interval )