File tree Expand file tree Collapse file tree
src/DIRAC/WorkloadManagementSystem/Client/JobState Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -364,6 +364,9 @@ def resetJob(self, source=""):
364364 def getInputData (self ):
365365 return self .__cacheResult ("inputData" , self .__jobState .getInputData )
366366
367+ def setInputData (self , inputData ):
368+ return self .__jobState .setInputData (inputData )
369+
367370 def insertIntoTQ (self ):
368371 if self .valid :
369372 self .__insertIntoTQ = True
Original file line number Diff line number Diff line change 1111 RIGHT_GET_INFO ,
1212 RIGHT_RESCHEDULE ,
1313 RIGHT_RESET ,
14+ RIGHT_SUBMIT ,
1415)
1516from DIRAC .WorkloadManagementSystem .Utilities .JobStatusUtility import JobStatusUtility
1617
@@ -317,6 +318,11 @@ def resetJob(self, source=""):
317318 def getInputData (self ):
318319 return JobState .__db .jobDB .getInputData (self .__jid )
319320
321+ right_setInputData = RIGHT_SUBMIT
322+
323+ def setInputData (self , inputData ):
324+ return JobState .__db .jobDB .setInputData (self .__jid , inputData )
325+
320326 right_insertIntoTQ = RIGHT_CHANGE_STATUS
321327
322328 def insertIntoTQ (self , manifest = None ):
You can’t perform that action at this time.
0 commit comments