Login
Back to bricks list
Introduction Version

QueueService

Attributes

tick_is_running: bool

Functions

ADD_EXPERIMENT_TO_QUEUE - @classmethod

Add the experiment to the queue and run it when ready

:raises NotFoundException: [description] :raises BadRequestException: [description]

Parameters:
NameTypeDefault valueDescription
experiment_idstr
Return type:
Experiment
DEINIT - @classmethod
EXPERIMENT_IS_IN_QUEUE - @classmethod
Parameters:
NameTypeDefault valueDescription
experiment_idstr
Return type:
bool
GET_QUEUE_JOBS - @classmethod
Return type:
List
INIT - @classmethod
Parameters:
NameTypeDefault valueDescription
tick_intervalint 60
daemonbool False
REMOVE_EXPERIMENT_FROM_QUEUE - @classmethod
Parameters:
NameTypeDefault valueDescription
experiment_idstr
Return type:
Experiment