RPCHandler

A RPCHanlder (RPC stands for Remote Procedure Call) is responsible for all the requests to a Cloud that Perceval supports. It sends the authentication info along with the request data, and reacts to the HTTP errors which might occur.

class perceval.runtime.rpc_handler.RPCHandler(name, url, token, proxies=None)

Remote Call Procedure Handler

A class to call the web API

Parameters:
  • name – name of the target platform

  • url – API URL to call

  • token – token used for authentication

  • proxies – dictionary mapping protocol to the URL of the proxy