diff --git a/fastargs/config.py b/fastargs/config.py index b5406e2..400868e 100644 --- a/fastargs/config.py +++ b/fastargs/config.py @@ -215,7 +215,7 @@ def get_section(self, section): def get_all_config(self, dump_path=None, ignore = []): config_dict = rec_dd() for path in self.entries.keys(): - if '.'.join(path) not in ignore: + if '.'.join(path) not in ignore and self.entries[path].section.is_enabled(self): recursive_set(config_dict, path, self[path]) config_dict = fix_dict(config_dict) if dump_path is not None: diff --git a/setup.py b/setup.py index c85b8d8..cba7ee7 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ packages=find_packages('.'), # Start with a small number and increase it with # every change you make https://semver.org - version='0.1.4', + version='0.1.5', # Chose a license from here: https: // # help.github.com / articles / licensing - a - # repository. For example: MIT