Simple JSON based store of job data.
More...
Simple JSON based store of job data.
Definition at line 73 of file job.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
path = None |
|
) |
| |
◆ get_job()
def get_job |
( |
|
self, |
|
|
|
job_id |
|
) |
| |
Get a job by its job ID.
- Parameters
-
- Returns
- job
Definition at line 104 of file job.py.
◆ get_job_data()
Get the raw dict containing all the job data.
Definition at line 112 of file job.py.
◆ get_job_ids()
Get a sorted list of job IDs.
Definition at line 116 of file job.py.
◆ has_job_id()
def has_job_id |
( |
|
self, |
|
|
|
job_id |
|
) |
| |
Return true if the job ID exists in the store.
Definition at line 120 of file job.py.
◆ load()
def load |
( |
|
self, |
|
|
|
json_store |
|
) |
| |
Load raw JSON data into this job store.
- Parameters
-
json_store | json file containing raw job data |
Definition at line 86 of file job.py.
◆ data
◆ path
The documentation for this class was generated from the following file: