def __init__(self, id, host, port, full_shard_id_list):
    self.id = (id if isinstance(id, bytes) else bytes(id, 'ascii'))
    self.host = (host if isinstance(host, bytes) else bytes(host, 'ascii'))
    self.port = port
    self.full_shard_id_list = full_shard_id_list
def __init__(self, id, host, port, full_shard_id_list):
    self.id = (id if isinstance(id, bytes) else bytes(id, 'ascii'))
    self.host = (host if isinstance(host, bytes) else bytes(host, 'ascii'))
    self.port = port
    self.full_shard_id_list = full_shard_id_list