Skip to content

Commit

Permalink
fix (diracx): revive future JobMonitoringHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Nov 30, 2023
1 parent 68cd8ca commit ebdf7ee
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from diracx.client import DiracClient


from DIRAC.Core.Utilities.ReturnValues import convertToReturnValue

from DIRAC.Core.Security.DiracX import DiracXClient


class JobMonitoringClient:
def fetch(self, parameters, jobIDs):
with DiracClient() as api:
with DiracXClient() as api:
jobs = api.jobs.search(
parameters=["JobID"] + parameters,
search=[{"parameter": "JobID", "operator": "in", "values": jobIDs}],
Expand Down

0 comments on commit ebdf7ee

Please sign in to comment.