本文整理汇总了Python中Job.Job.getWriteList方法的典型用法代码示例。如果您正苦于以下问题:Python Job.getWriteList方法的具体用法?Python Job.getWriteList怎么用?Python Job.getWriteList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Job.Job
的用法示例。
在下文中一共展示了Job.getWriteList方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: addJob
# 需要导入模块: from Job import Job [as 别名]
# 或者: from Job.Job import getWriteList [as 别名]
def addJob(self, jobObject):
jobObject = Job(jobObject)
jobObject_w_list = jobObject.getWriteList()
jobObject_r_list = jobObject.getReadList()
jobObject_rq_list = jobObject.getReadRequestList()
jobObject_wq_list = jobObject.getWriteRequestList()
for w in jobObject_w_list:
self.WR_list.append(w)
for r in jobObject_r_list:
self.RD_list.append(r)
for rq in jobObject_rq_list:
self.RQ_list.append(rq)
for wq in jobObject_wq_list:
self.WQ_list.append(wq)
self.Jobs[jobObject.getName()] = jobObject