def __init__(self, id, full_shard_id_list):
    ' Empty slave_id and full_shard_id_list means root '
    if isinstance(id, bytes):
        self.id = id
    else:
        self.id = bytes(id, 'ascii')
    self.full_shard_id_list = full_shard_id_list
Empty slave_id and full_shard_id_list means root
def __init__(self, id, full_shard_id_list):
    '  '
    if isinstance(id, bytes):
        self.id = id
    else:
        self.id = bytes(id, 'ascii')
    self.full_shard_id_list = full_shard_id_list