def party_members(path, zk_hosts, min_nodes=1, blocking=False):
 zk = _get_zk_conn(zk_hosts)
 party = kazoo.recipe.party.ShallowParty(zk, path)
 if blocking:
  barrier = kazoo.recipe.barrier.DoubleBarrier(zk, path, min_nodes)
  barrier.enter()
  party = kazoo.recipe.party.ShallowParty(zk, path)
  barrier.leave()
 return list(party)

def party_members ( path , zk_hosts , min_nodes = 1 , blocking = False ) : zk = _get_zk_conn ( zk_hosts ) party = kazoo . recipe . party . ShallowParty ( zk , path ) if blocking : barrier = kazoo . recipe . barrier . DoubleBarrier ( zk , path , min_nodes ) barrier . enter ( ) party = kazoo . recipe . party . ShallowParty ( zk , path ) barrier . leave ( ) return list ( party )
get the list of identifiers in a particular party .