Skip to content

Commit

Permalink
0.9.11 (#172)
Browse files Browse the repository at this point in the history
* πŸ› Make sure .envs of Proc subclasses are Diot objects

* πŸ”– 0.9.11
  • Loading branch information
pwwang authored Jun 7, 2023
1 parent 42b52d8 commit 962e1d1
Show file tree
Hide file tree
Showing 4 changed files with 8 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.9.11

- πŸ› Make sure .envs of Proc subclasses are Diot objects

## 0.9.10

- πŸ› Fix `utils.mark` and `get_marked` when `__meta__` is `None`
Expand Down
3 changes: 2 additions & 1 deletion pipen/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ def __init_subclass__(cls) -> None:
r"'^[\w.-]+$'"
)

cls.envs = update_dict(parent.envs if parent else None, cls.envs)
envs = update_dict(parent.envs if parent else None, cls.envs)
cls.envs = envs if isinstance(envs, Diot) else Diot(envs or {})
cls.plugin_opts = update_dict(
parent.plugin_opts if parent else None,
cls.plugin_opts,
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.9.10"
__version__ = "0.9.11"
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.9.10"
version = "0.9.11"
description = "A pipeline framework for python"
authors = [ "pwwang <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit 962e1d1

Please sign in to comment.