JobDBUtils

DIRAC.WorkloadManagementSystem.DB.JobDBUtils.checkAndAddOwner(jdl: str, owner: str, ownerDN: str, ownerGroup: str, diracSetup: str) JobManifest
DIRAC.WorkloadManagementSystem.DB.JobDBUtils.checkAndPrepareJob(jobID, classAdJob, classAdReq, owner, ownerDN, ownerGroup, diracSetup, jobAttrs, vo)
DIRAC.WorkloadManagementSystem.DB.JobDBUtils.compressJDL(jdl)

Return compressed JDL string.

DIRAC.WorkloadManagementSystem.DB.JobDBUtils.createJDLWithInitialStatus(classAdJob, classAdReq, jdl2DBParameters, jobAttrs, initialStatus, initialMinorStatus, *, modern=False)
Parameters:

modern – if True, store boolean instead of string for VerifiedFlag (used by diracx only)

DIRAC.WorkloadManagementSystem.DB.JobDBUtils.extractJDL(compressedJDL)

Return decompressed JDL string.

DIRAC.WorkloadManagementSystem.DB.JobDBUtils.fixJDL(jdl: str) str