towhee.runtime.check_utils.check_config

towhee.runtime.check_utils.check_config(info: Dict[str, Any], essentials: Set[str])[source]

Check if the src covers all the needed config info.

Parameters:
  • info (Dict[str, Any]) – The info dictionary.

  • essentials (Set[str]) – The essential keys that node config dictionary should contain.