def create_schedulers_and_builders(self, cfg):
            """Create the Schedulers and Builders.

      Args:
          cfg: dict; configuration dict for the build master.
      """
            # This import needs to happen inside this function because modules
            # imported by master_builders_cfg import this module.
            import master_builders_cfg
            master_builders_cfg.create_schedulers_and_builders(
                sys.modules[__name__], self, cfg,
                master_builders_cfg.setup_all_builders)
    def create_schedulers_and_builders(self, cfg):
      """Create the Schedulers and Builders.

      Args:
          cfg: dict; configuration dict for the build master.
      """
      # This import needs to happen inside this function because modules
      # imported by master_builders_cfg import this module.
      import master_builders_cfg
      master_builders_cfg.create_schedulers_and_builders(
          sys.modules[__name__],
          self,
          cfg,
          master_builders_cfg.setup_all_builders)