code: def _broks(self, broker_name):
          
          logger.debug("Getting broks for %s from the scheduler", broker_name)
          for broker_link in list(self.app.brokers.values()):
              if broker_name == broker_link.name:
                  break
          else:
              logger.warning("Requesting broks for an unknown broker: %s", broker_name)
              return {}
  
          # Now get the broks for this specific broker
          with self.app.broks_lock:
              res = self.app.get_broks(broker_name)
  
          return serialize(res, True)
docs: Get the broks from a scheduler, used by brokers
  
          This is used by the brokers to get the broks list of a scheduler
  
          :param broker_name: broker name, used to filter broks
          :type broker_name: str
          :return: serialized brok list
          :rtype: dict