addons14/queue_job/jobrunner/channels.py
def configure(self, config):
        """Configure a channel from a dictionary.

        Supported keys are:

        * capacity
        * sequential
        * throttle
        """
        assert self.fullname.endswith(config["name"])
        self.capacity = config.get("capacity", None)
        self.sequential = bool(config.get("sequential", False))
        self.throttle = int(config.get("throttle", 0))
        if self.sequential and self.capacity != 1:
            raise ValueError("A sequential channel must have a capacity of 1")
Configure a channel from a dictionary.

        Supported keys are:

        * capacity
        * sequential
        * throttle
        
Configure a channel from a dictionary.
Supported keys are.

capacity
sequential
throttle
Configure a channel from a dictionary . Supported keys are . capacity sequential throttle
def configure(self, config):
        assert self.fullname.endswith(config["name"])
        self.capacity = config.get("capacity", None)
        self.sequential = bool(config.get("sequential", False))
        self.throttle = int(config.get("throttle", 0))
        if self.sequential and self.capacity != 1:
            raise ValueError("A sequential channel must have a capacity of 1")
def configure ( self , config ) : assert self . fullname . endswith ( config [ "name" ] ) self . capacity = config . get ( "capacity" , None ) self . sequential = bool ( config . get ( "sequential" , False ) ) self . throttle = int ( config . get ( "throttle" , 0 ) ) if self . sequential and self . capacity != 1 : raise ValueError ( "A sequential channel must have a capacity of 1" )
Configure a channel from a dictionary.
Configure a channel from a dictionary .
"""Configure a channel from a dictionary.

        Supported keys are:

        * capacity
        * sequential
        * throttle
        """
self
config