def get_outgoing_connections(self) -> List[WSGreenBerryConnection]:
    result = []
    for (_, connection) in self.all_connections.items():
        if connection.is_outbound:
            result.append(connection)
    return result
def get_outgoing_connections(self) -> List[WSGreenBerryConnection]:
    result = []
    for (_, connection) in self.all_connections.items():
        if connection.is_outbound:
            result.append(connection)
    return result