ReportsClient

Module that holds the ReportsClient Client class

class DIRAC.AccountingSystem.Client.ReportsClient.ReportsClient(transferClient=None, **kwargs)

Bases: Client

__init__(transferClient=None, **kwargs)

c’tor

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

generateDelayedPlot(typeName, reportName, startTime, endTime, condDict, grouping, extraArgs=None, compress=True)
generatePlot(typeName, reportName, startTime, endTime, condDict, grouping, extraArgs=None)
getClientKWArgs()

Returns a copy of the connection arguments

getPlotToDirectory(plotName, dirDestination)
getPlotToMem(plotName)
getReport(typeName, reportName, startTime, endTime, condDict, grouping, extraArgs=None)
getServer()

Getter for the server url. Useful ?

httpsClient

alias of TornadoClient

listReports(typeName)
listUniqueKeyValues(self, typeName, **kwargs)

List all values for all keys in a type

Parameters:

none (-)

Automatically created for the service function export_listUniqueKeyValues()

Parameters:

typeName – typeName

setServer(url)

Set the server URL used by default

Parameters:

url – url of the service