Source code for fedn.network.loadbalancer.loadbalancerbase

from abc import ABC, abstractmethod


[docs] class LoadBalancerBase(ABC): """Abstract base class for load balancers. :param network: A handle to the network. :type network: class: `fedn.network.api.network.Network` """ def __init__(self, network): """ """ self.network = network
[docs] @abstractmethod def find_combiner(self): """Find a combiner to connect to.""" pass