async def send_to_others(self, messages: List[Message], node_type: NodeType, origin_peer: WSGreenBerryConnection):
    for (node_id, connection) in self.all_connections.items():
        if (node_id == origin_peer.peer_node_id):
            continue
        if (connection.connection_type is node_type):
            for message in messages:
                (await connection.send_message(message))
async def send_to_others(self, messages: List[Message], node_type: NodeType, origin_peer: WSGreenBerryConnection):
    for (node_id, connection) in self.all_connections.items():
        if (node_id == origin_peer.peer_node_id):
            continue
        if (connection.connection_type is node_type):
            for message in messages:
                (await connection.send_message(message))