#NEWLINE# @ typecheck ( ExperimentId , basestring ) #NEWLINE# def add_experiment_id( self , experiment_id , resource_type ) : #NEWLINE# #INDENT# client = self . _redis_maker ( ) #NEWLINE# client . sadd ( WEBLAB_RESOURCES , experiment_id ) #NEWLINE# client . sadd ( WEBLAB_EXPERIMENT_TYPES , experiment_id . to_weblab_str ( ) )