def connect(address, authkey):
  """Connect to a multiprocess.Manager.

  Args:
    :address: unique address to the TFManager, either a unique connection string for 'local', or a (host, port) tuple for remote.
    :authkey: string authorization key

  Returns:
    A TFManager instance referencing the remote TFManager at the supplied address.
  """
  TFManager.register('get_queue')
  TFManager.register('get')
  TFManager.register('set')
  m = TFManager(address, authkey=authkey)
  m.connect()
  return m
def connect ( address , authkey ) : TFManager . register ( 'get_queue' ) TFManager . register ( 'get' ) TFManager . register ( 'set' ) m = TFManager ( address , authkey = authkey ) m . connect ( ) return m
Connect to a multiprocess.Manager.

  Args:
    :address: unique address to the TFManager, either a unique connection string for 'local', or a (host, port) tuple for remote.
    :authkey: string authorization key

  Returns:
    A TFManager instance referencing the remote TFManager at the supplied address.