Module ImportFrom alias alias Import alias ImportFrom alias alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareNotEq NameLoad Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore CompareNotEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Return NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr Return CompareNotEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr Return CompareNotEq Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore BinOpMod NameLoad TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Return CompareGt Call NameLoad NameLoad Num decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad AttributeLoad NameLoad attr Return CompareIn AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return ListComp Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad Call AttributeLoad NameLoad attr Return ListComp Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad ListLoad For NameStore NameLoad body Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore BinOpMod NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return CompareNotEq Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad TupleLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad body For NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A __future__ print_function unicode_literals N/A json weblab.data.experiments ExperimentId ExperimentInstanceId weblab.core.coordinator.resource Resource N/A weblab.core.coordinator.exc CoordExc voodoo.typechecker typecheck weblab.core.coordinator.redis.constants WEBLAB_EXPERIMENT_TYPES WEBLAB_EXPERIMENT_RESOURCES WEBLAB_EXPERIMENT_INSTANCES WEBLAB_EXPERIMENT_INSTANCE WEBLAB_RESOURCES WEBLAB_RESOURCE WEBLAB_RESOURCE_SLOTS WEBLAB_RESOURCE_WORKING WEBLAB_RESOURCE_EXPERIMENTS WEBLAB_RESOURCE_RESERVATIONS WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS LAB_COORD RESOURCE_INST EXPERIMENT_TYPE RESOURCE_TYPE ResourcesManager N/A object N/A __init__ N/A N/A self redis_maker N/A N/A N/A N/A self _redis_maker redis_maker N/A add_resource N/A N/A self resource N/A N/A N/A client N/A N/A self _redis_maker N/A N/A N/A client sadd WEBLAB_RESOURCES N/A resource resource_type N/A N/A N/A client sadd N/A WEBLAB_RESOURCE N/A resource resource_type N/A resource resource_instance N/A N/A N/A client sadd N/A WEBLAB_RESOURCE_SLOTS N/A resource resource_type N/A resource resource_instance N/A N/A N/A client sadd N/A WEBLAB_RESOURCE_WORKING N/A resource resource_type N/A resource resource_instance N/A N/A typecheck Resource add_experiment_id N/A N/A self experiment_id resource_type N/A N/A N/A client N/A N/A self _redis_maker N/A N/A N/A client sadd WEBLAB_RESOURCES resource_type N/A N/A N/A client sadd WEBLAB_EXPERIMENT_TYPES N/A N/A experiment_id to_weblab_str N/A N/A typecheck ExperimentId basestring add_experiment_instance_id N/A N/A self laboratory_coord_address experiment_instance_id resource N/A N/A N/A N/A N/A self add_resource resource N/A experiment_id N/A N/A experiment_instance_id to_experiment_id N/A experiment_id_str N/A N/A experiment_id to_weblab_str N/A N/A N/A self add_experiment_id experiment_id N/A resource resource_type N/A client N/A N/A self _redis_maker N/A N/A N/A client sadd N/A WEBLAB_EXPERIMENT_INSTANCES experiment_id_str N/A experiment_instance_id inst_name N/A weblab_experiment_instance N/A WEBLAB_EXPERIMENT_INSTANCE N/A experiment_id_str N/A experiment_instance_id inst_name N/A weblab_resource_experiments N/A WEBLAB_RESOURCE_EXPERIMENTS N/A resource resource_type N/A N/A N/A client sadd weblab_resource_experiments experiment_id_str N/A weblab_experiment_resources N/A WEBLAB_EXPERIMENT_RESOURCES experiment_id_str N/A N/A N/A client sadd weblab_experiment_resources N/A resource resource_type N/A weblab_resource_instance_experiments N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A N/A resource resource_type N/A resource resource_instance N/A N/A N/A client sadd weblab_resource_instance_experiments N/A N/A experiment_instance_id to_weblab_str N/A retrieved_laboratory_coord_address N/A N/A client hget weblab_experiment_instance LAB_COORD N/A N/A retrieved_laboratory_coord_address None N/A N/A N/A retrieved_laboratory_coord_address laboratory_coord_address N/A N/A N/A N/A CoordExc InvalidExperimentConfigError N/A Attempt to register the experiment %s in the laboratory %s; this experiment is already registered in the laboratory %s N/A experiment_instance_id laboratory_coord_address retrieved_laboratory_coord_address N/A N/A N/A client hset weblab_experiment_instance LAB_COORD laboratory_coord_address N/A retrieved_weblab_resource_instance N/A N/A client hget weblab_experiment_instance RESOURCE_INST N/A N/A retrieved_weblab_resource_instance None N/A N/A N/A retrieved_weblab_resource_instance N/A N/A resource to_weblab_str N/A N/A N/A N/A CoordExc InvalidExperimentConfigError N/A Attempt to register the experiment %s with resource %s when it was already bound to resource %s N/A experiment_instance_id resource retrieved_weblab_resource_instance N/A N/A N/A client hset weblab_experiment_instance RESOURCE_INST N/A N/A resource to_weblab_str N/A N/A typecheck basestring ExperimentInstanceId Resource acquire_resource N/A N/A self current_resource N/A N/A N/A weblab_resource_slots N/A WEBLAB_RESOURCE_SLOTS N/A current_resource resource_type N/A client N/A N/A self _redis_maker N/A acquired N/A N/A N/A client srem weblab_resource_slots N/A current_resource resource_instance 0 N/A acquired N/A N/A typecheck Resource release_resource N/A N/A self current_resource N/A N/A N/A weblab_resource_slots N/A WEBLAB_RESOURCE_SLOTS N/A current_resource resource_type N/A client N/A N/A self _redis_maker N/A N/A N/A client sadd weblab_resource_slots N/A current_resource resource_instance N/A N/A typecheck Resource release_resource_instance N/A N/A self resource N/A N/A N/A N/A N/A self release_resource resource N/A N/A typecheck Resource get_resource_types_by_experiment_id N/A N/A self experiment_id N/A N/A N/A client N/A N/A self _redis_maker N/A weblab_experiment_resources N/A WEBLAB_EXPERIMENT_RESOURCES N/A N/A experiment_id to_weblab_str N/A experiment_types N/A N/A client smembers weblab_experiment_resources N/A N/A N/A N/A client exists weblab_experiment_resources N/A N/A N/A N/A CoordExc ExperimentNotFoundError N/A Experiment not found: %s experiment_id N/A N/A set experiment_types N/A N/A typecheck ExperimentId get_resource_instance_by_experiment_instance_id N/A N/A self experiment_instance_id N/A N/A N/A experiment_id N/A N/A experiment_instance_id to_experiment_id N/A weblab_experiment_instance N/A WEBLAB_EXPERIMENT_INSTANCE N/A N/A N/A experiment_id to_weblab_str N/A experiment_instance_id inst_name N/A client N/A N/A self _redis_maker N/A resource_instance N/A N/A client hget weblab_experiment_instance RESOURCE_INST N/A N/A resource_instance None N/A N/A N/A N/A CoordExc ExperimentNotFoundError N/A Experiment not found: %s experiment_instance_id N/A N/A N/A Resource parse resource_instance N/A N/A typecheck ExperimentInstanceId get_laboratory_coordaddress_by_experiment_instance_id N/A N/A self experiment_instance_id N/A N/A N/A experiment_id N/A N/A experiment_instance_id to_experiment_id N/A weblab_experiment_instance N/A WEBLAB_EXPERIMENT_INSTANCE N/A N/A N/A experiment_id to_weblab_str N/A experiment_instance_id inst_name N/A client N/A N/A self _redis_maker N/A N/A N/A client hget weblab_experiment_instance LAB_COORD N/A mark_resource_as_broken N/A N/A self resource N/A N/A N/A client N/A N/A self _redis_maker N/A weblab_resource_working N/A WEBLAB_RESOURCE_WORKING N/A resource resource_type N/A N/A N/A N/A client srem weblab_resource_working N/A resource resource_instance 0 N/A N/A typecheck Resource mark_resource_as_fixed N/A N/A self resource N/A N/A N/A client N/A N/A self _redis_maker N/A weblab_resource_working N/A WEBLAB_RESOURCE_WORKING N/A resource resource_type N/A N/A N/A N/A client sadd weblab_resource_working N/A resource resource_instance 0 N/A N/A typecheck Resource remove_resource_instance_id N/A N/A self experiment_instance_id N/A N/A N/A client N/A N/A self _redis_maker N/A experiment_id_str N/A N/A N/A N/A experiment_instance_id to_experiment_id to_weblab_str N/A weblab_experiment_instances N/A WEBLAB_EXPERIMENT_INSTANCES experiment_id_str N/A weblab_experiment_instance N/A WEBLAB_EXPERIMENT_INSTANCE N/A experiment_id_str N/A experiment_instance_id inst_name N/A resource_instance N/A N/A client hget weblab_experiment_instance RESOURCE_INST N/A N/A resource_instance None N/A N/A resource N/A N/A Resource parse resource_instance N/A weblab_resource_experiment_instances N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A N/A resource resource_type N/A resource resource_instance N/A N/A N/A client srem weblab_experiment_instances N/A experiment_instance_id inst_name N/A N/A N/A client delete weblab_experiment_instance N/A N/A N/A client srem weblab_resource_experiment_instances N/A N/A experiment_instance_id to_weblab_str N/A N/A typecheck ExperimentInstanceId remove_resource_instance N/A N/A self resource N/A N/A N/A client N/A N/A self _redis_maker N/A weblab_resource N/A WEBLAB_RESOURCE N/A resource resource_type N/A N/A N/A client srem weblab_resource N/A resource resource_instance N/A N/A weblab_resource_instance_experiments N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A N/A resource resource_type N/A resource resource_instance N/A experiment_instances N/A N/A N/A client smembers weblab_resource_instance_experiments N/A N/A N/A N/A client delete weblab_resource_instance_experiments N/A experiment_instance experiment_instances N/A N/A experiment_instance_id N/A N/A ExperimentInstanceId parse experiment_instance N/A N/A N/A self remove_resource_instance_id experiment_instance_id N/A N/A typecheck Resource are_resource_instances_working N/A N/A self resource_type N/A N/A N/A client N/A N/A self _redis_maker N/A resource_instances N/A N/A client smembers N/A WEBLAB_RESOURCE_WORKING resource_type N/A N/A N/A len resource_instances 0 N/A N/A typecheck basestring check_working N/A N/A self resource N/A N/A N/A N/A resource None N/A N/A False N/A client N/A N/A self _redis_maker N/A resource_instances N/A N/A client smembers N/A WEBLAB_RESOURCE_WORKING N/A resource resource_type N/A N/A N/A resource resource_instance resource_instances N/A N/A typecheck Resource list_resources N/A N/A self N/A N/A N/A client N/A N/A self _redis_maker N/A N/A list N/A N/A client smembers WEBLAB_RESOURCES N/A list_resource_instances N/A N/A self N/A N/A N/A client N/A N/A self _redis_maker N/A resource_instances N/A N/A resource_type N/A N/A client smembers WEBLAB_RESOURCES N/A N/A resource_instance N/A N/A client smembers N/A WEBLAB_RESOURCE resource_type N/A N/A N/A N/A resource_instances append N/A Resource resource_type resource_instance N/A resource_instances N/A list_resource_instances_by_type N/A N/A self resource_type_name N/A N/A N/A client N/A N/A self _redis_maker N/A N/A N/A Resource resource_type_name resource_instance N/A resource_instance N/A N/A client smembers N/A WEBLAB_RESOURCE resource_type_name N/A N/A typecheck basestring list_experiments N/A N/A self N/A N/A N/A client N/A N/A self _redis_maker N/A N/A N/A N/A ExperimentId parse exp_type N/A exp_type N/A N/A client smembers WEBLAB_EXPERIMENT_TYPES N/A list_experiment_instances_by_type N/A N/A self experiment_id N/A N/A N/A client N/A N/A self _redis_maker N/A weblab_experiment_instances N/A WEBLAB_EXPERIMENT_INSTANCES N/A N/A experiment_id to_weblab_str N/A N/A N/A ExperimentInstanceId inst N/A experiment_id exp_name N/A experiment_id cat_name N/A inst N/A N/A client smembers weblab_experiment_instances N/A N/A typecheck ExperimentId list_experiment_instance_ids_by_resource_type N/A N/A self resource_type N/A N/A N/A client N/A N/A self _redis_maker N/A experiment_instance_ids N/A N/A instances N/A N/A N/A client smembers N/A WEBLAB_RESOURCE resource_type N/A N/A instance instances N/A N/A weblab_resource_instance_experiments N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A resource_type instance N/A current_members N/A N/A N/A client smembers weblab_resource_instance_experiments N/A N/A member current_members N/A N/A experiment_instance_id N/A N/A ExperimentInstanceId parse member N/A N/A N/A experiment_instance_ids append experiment_instance_id N/A experiment_instance_ids N/A N/A typecheck basestring list_experiment_instance_ids_by_resource N/A N/A self resource N/A N/A N/A client N/A N/A self _redis_maker N/A experiment_instance_ids N/A N/A weblab_resource_instance_experiments N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A N/A resource resource_type N/A resource resource_instance N/A current_members N/A N/A N/A client smembers weblab_resource_instance_experiments N/A N/A member current_members N/A N/A experiment_instance_id N/A N/A ExperimentInstanceId parse member N/A N/A N/A experiment_instance_ids append experiment_instance_id N/A experiment_instance_ids N/A N/A typecheck Resource list_laboratories_addresses N/A N/A self N/A N/A N/A client N/A N/A self _redis_maker N/A laboratory_addresses N/A N/A experiment_type N/A N/A client smembers WEBLAB_EXPERIMENT_TYPES N/A N/A experiment_id N/A N/A ExperimentId parse experiment_type N/A experiment_instance_names N/A N/A client smembers N/A WEBLAB_EXPERIMENT_INSTANCES experiment_type N/A experiment_instance_name experiment_instance_names N/A N/A experiment_instance_id N/A ExperimentInstanceId experiment_instance_name N/A experiment_id exp_name N/A experiment_id cat_name N/A weblab_experiment_instance N/A WEBLAB_EXPERIMENT_INSTANCE N/A experiment_type experiment_instance_name N/A laboratory_address N/A N/A client hget weblab_experiment_instance LAB_COORD N/A resource_str N/A N/A client hget weblab_experiment_instance RESOURCE_INST N/A resource N/A N/A Resource parse resource_str N/A current N/A N/A laboratory_addresses get laboratory_address N/A N/A N/A current N/A experiment_instance_id resource N/A N/A laboratory_addresses N/A laboratory_address current N/A laboratory_addresses N/A associate_scheduler_to_reservation N/A N/A self reservation_id experiment_id resource_type_name N/A N/A N/A client N/A N/A self _redis_maker N/A reservations_active_schedulers N/A WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS reservation_id N/A serialized N/A N/A json dumps N/A EXPERIMENT_TYPE RESOURCE_TYPE N/A N/A experiment_id to_weblab_str resource_type_name N/A N/A N/A client sadd reservations_active_schedulers serialized N/A N/A typecheck basestring ExperimentId basestring dissociate_scheduler_from_reservation N/A N/A self reservation_id experiment_id resource_type_name N/A N/A N/A client N/A N/A self _redis_maker N/A reservations_active_schedulers N/A WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS reservation_id N/A serialized N/A N/A json dumps N/A EXPERIMENT_TYPE RESOURCE_TYPE N/A N/A experiment_id to_weblab_str resource_type_name N/A N/A N/A N/A client srem reservations_active_schedulers serialized 0 N/A clean_associations_for_reservation N/A N/A self reservation_id experiment_id N/A N/A N/A client N/A N/A self _redis_maker N/A reservations_active_schedulers N/A WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS reservation_id N/A N/A N/A client delete reservations_active_schedulers N/A retrieve_schedulers_per_reservation N/A N/A self reservation_id experiment_id N/A N/A N/A client N/A N/A self _redis_maker N/A reservations_active_schedulers N/A WEBLAB_RESERVATIONS_ACTIVE_SCHEDULERS reservation_id N/A associations N/A N/A N/A client smembers reservations_active_schedulers N/A N/A resource_type_names N/A N/A member associations N/A N/A deserialized N/A N/A json loads member N/A N/A N/A resource_type_names append N/A deserialized N/A RESOURCE_TYPE N/A resource_type_names N/A _clean N/A N/A self N/A N/A N/A client N/A N/A self _redis_maker N/A element N/A N/A client smembers WEBLAB_RESOURCES N/A N/A instance N/A N/A client smembers N/A WEBLAB_RESOURCE element N/A N/A N/A N/A client delete N/A WEBLAB_RESOURCE_INSTANCE_EXPERIMENTS N/A element instance N/A N/A N/A client delete N/A WEBLAB_RESOURCE element N/A N/A N/A client delete N/A WEBLAB_RESOURCE_EXPERIMENTS element N/A N/A N/A client delete N/A WEBLAB_RESOURCE_RESERVATIONS element N/A N/A N/A client delete N/A WEBLAB_RESOURCE_SLOTS element N/A N/A N/A client delete N/A WEBLAB_RESOURCE_WORKING element N/A element N/A N/A client keys N/A WEBLAB_RESOURCE_RESERVATIONS * N/A N/A N/A N/A client delete element N/A N/A N/A client delete WEBLAB_RESOURCES N/A element N/A N/A client smembers WEBLAB_EXPERIMENT_TYPES N/A N/A N/A N/A client delete N/A WEBLAB_EXPERIMENT_RESOURCES element N/A instance N/A N/A client smembers N/A WEBLAB_EXPERIMENT_INSTANCES element N/A N/A N/A N/A client delete N/A WEBLAB_EXPERIMENT_INSTANCE N/A element instance N/A N/A N/A client delete N/A WEBLAB_EXPERIMENT_INSTANCES element N/A N/A N/A client delete WEBLAB_EXPERIMENT_TYPES N/A N/A