|
__init__(self,
schema,
role,
streamer,
tree_streamer,
root_dir,
init_schema)
schema is a subset of job schema. |
source code
|
|
|
|
|
|
|
_initDir(self,
path,
schema=None,
create_sequence=True) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_forcedRemoveDir(self,
path,
schema=None,
remove_sequence=True) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_getCondition(self,
fqid,
forced_action=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_getValues(self,
job,
timestamp,
deep=True) |
source code
|
|
|
_commitJobs(self,
jobs,
forced_action=False,
deep=True,
register=False,
get_ids=True) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_getMetaData(self,
ids_or_attributes,
attr_list)
ids_or_attributes is used to make a selection in the DB attr_list is
used to specify return value. |
source code
|
|
|
_getLockedMetaData(self,
ids,
attr_list,
istate=' _ ' ,
forced_action=False)
The same function as _getMetaData, but it first tries to lock data
using on istate. |
source code
|
|
|
_setLock(self,
ids,
istate,
forced_action=False) |
source code
|
|
|
_setMetaData(self,
ids,
attrs,
values,
forced_action=False,
new=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
_generic_addEntry(self,
fqid,
attrs,
values) |
source code
|
|
|
_generic_updateAttr(self,
fqid,
attrs,
values,
forced_action) |
source code
|
|
|
|
|
|
|
|
|
_generic_selectAttr(self,
selection,
path,
attr_list) |
source code
|
|
|
|
|
|
|
_generic_sequenceNext(self,
name,
reserve=0) |
source code
|
|
|
registerJobs(self,
jobs,
masterJob=None)
registerJobs(self, jobs) --> None throws RepositoryError jobs --
list of jobs to register |
source code
|
|
|
commitJobs(self,
jobs,
forced_action=False,
deep=True)
commitJobs(self, jobs) --> None throws RepositoryError jobs --
list of jobs to commit jobs must already be registered |
source code
|
|
|
checkoutJobs(self,
ids_or_attributes,
deep=True)
checkoutJobs(self, ids_or_attributes) --> list of jobs throws
RepositoryError ids_or_attributes -- list of job ids or dictionary of
job attributes saved in the DB as metadata. |
source code
|
|
|
deleteJobs(self,
ids,
forced_action=False)
deleteJob(self, ids) --> None throws RepositoryError ids -- list
of job ids |
source code
|
|
|
getJobIds(self,
ids_or_attributes)
getJobIds(self, ids_or_attributes) --> list of ids for the jobs
having specified attributes. |
source code
|
|
|
getJobAttributes(self,
ids_or_attributes)
getJobAttributes(self, ids_or_attributes) --> list of dictionaries
with job metadata stored in the registry. |
source code
|
|
|
setJobsStatus(self,
statusList,
forced_action=False)
setJobsStatus(self, statusList) --> None throws RepositoryError
statusList -- list of tuples (<jobId>, <status>) Supposed
to be used by JobManager |
source code
|
|
|
getJobsStatus(self,
ids_or_attributes)
getJobsStatus(self, ids_or_attributes) --> list of tuples,
indicating jobid and job status: (id, status). |
source code
|
|
|
|
|
|
|
resetAll(self)
Replaces root directory and all its content with fresh empty
initialized directory. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|