openfl.utilities.utils.merge_configs
- openfl.utilities.utils.merge_configs(overwrite_dict: dict | None = None, value_transform: List[Tuple[str, Callable]] | None = None, **kwargs) LazySettings
Create Dynaconf settings, merge its with overwrite_dict and validate result.
This function creates a Dynaconf settings object, merges it with an optional dictionary, applies an optional value transformation, and validates the result.
- Parameters:
overwrite_dict (Optional[dict], optional) – A dictionary to merge with the settings. Defaults to None.
value_transform (Optional[List[Tuple[str, Callable]]], optional) – A list of tuples, each containing a key and a function to apply to the value of that key. Defaults to None.
**kwargs – Additional keyword arguments to pass to the Dynaconf constructor.
- Returns:
Dynaconf – The merged and validated settings.