@@ -89,6 +89,7 @@ class JobData(BaseData):
8989 pandasecrets = "" # User defined secrets
9090 pilotsecrets = {} # Real-time logging secrets
9191 requestid = None # Request ID
92+ resourcetype = None # resource type (SCORE, MCORE, etc)
9293
9394 # set by the pilot (not from job definition)
9495 workdir = "" # working directory for this job
@@ -199,7 +200,7 @@ class JobData(BaseData):
199200 'swrelease' , 'zipmap' , 'imagename' , 'imagename_jobdef' , 'accessmode' , 'transfertype' ,
200201 'datasetin' , ## TO BE DEPRECATED: moved to FileSpec (job.indata)
201202 'infilesguids' , 'memorymonitor' , 'allownooutput' , 'pandasecrets' , 'prodproxy' , 'alrbuserplatform' ,
202- 'debug_command' , 'dask_scheduler_ip' , 'jupyter_session_ip' , 'altstageout' , 'nucleus' ],
203+ 'debug_command' , 'dask_scheduler_ip' , 'jupyter_session_ip' , 'altstageout' , 'nucleus' , 'resourcetype' ],
203204 list : ['piloterrorcodes' , 'piloterrordiags' , 'workdirsizes' , 'zombies' , 'corecounts' , 'subprocesses' ,
204205 'logdata' , 'outdata' , 'indata' , 'cpufrequencies' ],
205206 dict : ['status' , 'fileinfo' , 'metadata' , 'utilities' , 'overwrite_queuedata' , 'sizes' , 'preprocess' ,
@@ -553,7 +554,8 @@ def load(self, data: dict, use_kmap: bool = True):
553554 'dask_scheduler_ip' : 'scheduler_ip' ,
554555 'jupyter_session_ip' : 'session_ip' ,
555556 'minramcount' : 'minRamCount' ,
556- 'altstageout' : 'altStageOut'
557+ 'altstageout' : 'altStageOut' ,
558+ 'resourcetype' : 'resource_type'
557559 } if use_kmap else {}
558560
559561 self ._load_data (data , kmap )
0 commit comments