Skip to content

Commit

Permalink
Remove condition for empty config
Browse files Browse the repository at this point in the history
Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
ankatiyar committed May 16, 2023
1 parent 7975881 commit 7961155
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kedro/config/omegaconf_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,6 @@ def load_and_merge_dir_config( # pylint: disable=too-many-arguments
aggregate_config = config_per_file.values()
self._check_duplicates(seen_file_to_keys)

if not aggregate_config:
return {}

if key == "parameters":
# Merge with runtime parameters only for "parameters"
return OmegaConf.to_container(
Expand Down

0 comments on commit 7961155

Please sign in to comment.