plynx.db.worker_state

Worker State DB Object and utils

Module Contents

class plynx.db.worker_state.WorkerState[source]

Bases: plynx.db.db_object.DBObject

Worker statistics snapshot.

DB_COLLECTION[source]
_id :ObjectId[source]
worker_id :str =[source]
host :str =[source]
runs :List[Node][source]
kinds :List[str][source]
plynx.db.worker_state.get_worker_states() → List[WorkerState][source]

Get all of the workers with latest states