diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 43e65dd4..20eabf42 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.1 + +- 🩹 Hide config meta data in pipeline information + ## 0.3.0 - ⬆️ Upgrade dependencies diff --git a/pipen/pipen.py b/pipen/pipen.py index e8ef9779..e13c2dfa 100644 --- a/pipen/pipen.py +++ b/pipen/pipen.py @@ -273,6 +273,7 @@ def _log_pipeline_info(self) -> None: ) for name, plg in plugin.get_enabled_plugins().items() ] + config = ProfileConfig.detach(self.config) for key, value in chain( zip( ["# procs", "plugins", "profile", "outdir"], @@ -285,17 +286,17 @@ def _log_pipeline_info(self) -> None: ), sorted( (key, val) - for key, val in self.config.items() + for key, val in config.items() if not key.endswith("_opts") ), ( ( "plugin_opts", - pprint.pformat(self.config.plugin_opts, indent=1), + pprint.pformat(config.plugin_opts, indent=1), ), ( "scheduler_opts", - pprint.pformat(self.config.scheduler_opts, indent=1), + pprint.pformat(config.scheduler_opts, indent=1), ), ( "template_opts", @@ -318,7 +319,7 @@ def _log_pipeline_info(self) -> None: if isinstance(val, dict) else val ) - for key, val in self.config.template_opts.items() + for key, val in config.template_opts.items() }, indent=1, # sort_dicts=False, diff --git a/pipen/version.py b/pipen/version.py index ea1e49b8..ea376689 100644 --- a/pipen/version.py +++ b/pipen/version.py @@ -1,3 +1,3 @@ """Provide version of pipen""" -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/pyproject.toml b/pyproject.toml index d39bfea8..8d36fe04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "pipen" -version = "0.3.0" +version = "0.3.1" description = "A pipeline framework for python" authors = [ "pwwang ",] license = "MIT"