JobManagerClient

Class that contains client access to the JobManager handler.

class DIRAC.WorkloadManagementSystem.Client.JobManagerClient.JobManagerClient(url=None, **kwargs)

Bases: DIRAC.Core.Base.Client.Client

JobManagerClient sets url for the JobManagerHandler.

__init__(url=None, **kwargs)

Sets URL for JobManager handler

Parameters
  • self – self reference

  • url – url of the JobManagerHandler

  • kwargs – forwarded to the Base Client class

property call

To be removed once we’re sure self.call has been removed

Type

Deprecated

executeRPC(*parms, **kws)

This method extracts some parameters from kwargs that are used as parameter of the constructor or RPCClient. Unfortunately, only a few of all the available parameters of BaseClient are exposed.

Parameters
  • rpc – if an RPC client is passed, use that one

  • timeout – we can change the timeout on a per call bases. Default is self.timeout

  • url – We can specify which url to use

getServer()

Getter for the server url. Useful ?

httpsClient

alias of DIRAC.Core.Tornado.Client.TornadoClient.TornadoClient

setServer(url)

Set the server URL used by default

Parameters

url – url of the service