#NEWLINE# def __init__( self , weblabdeusto_scheduler , period , create_client_func ) : #NEWLINE# #INDENT# threading . Thread . __init__ ( self ) #NEWLINE# self . setName ( next_name ( 'ResultsRetriever' ) ) #NEWLINE# self . redis_maker = weblabdeusto_scheduler . redis_maker #NEWLINE# self . resource_type_name = weblabdeusto_scheduler . resource_type_name #NEWLINE# self . server_route = create_client_func . core_server_route #NEWLINE# self . server_url = weblabdeusto_scheduler . core_server_url #NEWLINE# self . completed_store = weblabdeusto_scheduler . completed_store #NEWLINE# self . post_reservation_data_manager = weblabdeusto_scheduler . post_reservation_data_manager #NEWLINE# self . period = period #NEWLINE# self . create_client_func = create_client_func #NEWLINE# self . stopped = False #NEWLINE# self . external_weblabdeusto_pending = ( weblabdeusto_scheduler . EXTERNAL_WEBLABDEUSTO_PENDING_RESULTS % ( self . resource_type_name , self . server_route ) )