MCPcopy
hub / github.com/hyperopt/hyperopt / get_queue_len

Method get_queue_len

hyperopt/fmin.py:214–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 unfinished_states = [base.JOB_STATE_NEW, base.JOB_STATE_RUNNING]
213
214 def get_queue_len():
215 return self.trials.count_by_state_unsynced(unfinished_states)
216
217 qlen = get_queue_len()
218 while qlen > 0:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected