parl.connect

class connect[source]

Create a global client which connects to the master node.

parl.connect(master_address='localhost:1234')
Parameters:
  • master_address (str) – The address of the Master node to connect to.
  • distributed_files (list) – A list of files to be distributed at all remote instances(e,g. the configuration file for initialization) .
Raises:

Exception – An exception is raised if the master node is not started.