JSONRPC Calls¶
Functions to communicate with the server using JSONRPC
-
iceprod.core.exe_json.send_through_pilot(func)[source]¶ Decorator to route communication through the pilot
-
class
iceprod.core.exe_json.ServerComms(url, passkey, config, **kwargs)[source]¶ Setup JSONRPC communications with the IceProd server.
Parameters: -
download_task(gridspec, resources={})[source]¶ Download new task(s) from the server.
Parameters: Returns: list of task configs
Return type:
-
processing(task_id)[source]¶ Tell the server that we are processing this task.
Only used for single task config, not for pilots.
Parameters: task_id (str) – task_id to mark as processing
-
still_running(*args, **kwargs)[source]¶ Check if the task should still be running according to the DB
-