Skip to content

Commit

Permalink
0.6.4 (#155)
Browse files Browse the repository at this point in the history
* πŸ”€ Set desc from docstring if not given for pipelines

* πŸ”– 0.6.4
  • Loading branch information
pwwang authored Mar 20, 2023
1 parent 09fb520 commit 1c4724f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.6.4

- πŸ”€ Set desc from docstring if not given for pipelines

## 0.6.3

- πŸ”Š Trim right spaces of logs
Expand Down
7 changes: 6 additions & 1 deletion pipen/pipen.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from .progressbar import PipelinePBar
from .utils import (
copy_dict,
desc_from_docstring,
get_logpanel_width,
get_plugin_context,
log_rich_renderable,
Expand Down Expand Up @@ -91,7 +92,11 @@ def __init__(
except VarnameException:
self.name = f"pipen-{self.__class__.PIPELINE_COUNT}"

self.desc = desc or self.__class__.desc
self.desc = (
desc
or self.__class__.desc
or desc_from_docstring(self.__class__)
)
self.outdir = Path(
outdir
or self.__class__.outdir
Expand Down
2 changes: 1 addition & 1 deletion pipen/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Provide version of pipen"""

__version__ = "0.6.3"
__version__ = "0.6.4"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "pipen"
version = "0.6.3"
version = "0.6.4"
description = "A pipeline framework for python"
authors = [ "pwwang <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit 1c4724f

Please sign in to comment.