def __init__(
        self,
        runner_fn: dict,
        name='default_name',
        worker_num=10,
    ):
        """Config for composer

        Args:
            runner_fn: runner functions
            name: composer name
            worker_num: number of worker doing heavy job
        """
        self.runner_fn = runner_fn
        self.name = name
        self.worker_num = worker_num
Config for composer

        Args:
            runner_fn: runner functions
            name: composer name
            worker_num: number of worker doing heavy job
        
web_console_v2/api/fedlearner_webconsole/composer/composer.py