예제 #1
0
 def get_all_available_config_keys() -> List[str]:
     all_available_config_keys = list(in_memory_config_map.keys()) + list(
         global_config_map.keys())
     current_strategy: str = in_memory_config_map.get("strategy").value
     strategy_cm: Optional[Dict[str, ConfigVar]] = get_strategy_config_map(
         current_strategy)
     if strategy_cm:
         all_available_config_keys += list(strategy_cm.keys())
     return all_available_config_keys
예제 #2
0
 def get_all_available_config_keys() -> List[str]:
     """
     Returns a list of config keys that are currently relevant, including the ones that are not required.
     """
     all_available_config_keys = list(in_memory_config_map.keys()) + list(global_config_map.keys())
     current_strategy: str = in_memory_config_map.get("strategy").value
     strategy_cm: Optional[Dict[str, ConfigVar]] = get_strategy_config_map(current_strategy)
     if strategy_cm:
         all_available_config_keys += list(strategy_cm.keys())
     return all_available_config_keys