@classmethod
def from_hello_request(cls, node: 'Node', peer_id: ID, request: HelloRequest) -> 'Peer':
    return cls(node=node, _id=peer_id, fork_version=request.fork_version, finalized_root=request.finalized_root, finalized_epoch=request.finalized_epoch, head_root=request.head_root, head_slot=request.head_slot)
@classmethod
def from_hello_request(cls, node: 'Node', peer_id: ID, request: HelloRequest) -> 'Peer':
    return cls(node=node, _id=peer_id, fork_version=request.fork_version, finalized_root=request.finalized_root, finalized_epoch=request.finalized_epoch, head_root=request.head_root, head_slot=request.head_slot)