Skip to content

Commit

Permalink
🔖 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Mar 10, 2023
1 parent 972d0ac commit f5c1389
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 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.0

- ✨ Allow subclassing Pipen to create a pipeline (#151)

## 0.5.2

- 📝 Refactor codebase: unify type annotations and import future features
Expand Down
4 changes: 2 additions & 2 deletions pipen/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Job(XquteJob, JobCaching):

def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)
self.proc: "Proc" = None
self.proc: Proc = None
self._output_types: Dict[str, str] = {}
self._outdir = self.metadir / "output"

Expand Down Expand Up @@ -244,7 +244,7 @@ def log(

self.proc.log(level, job_index_indicator + msg, *args, logger=logger)

async def prepare(self, proc: "Proc") -> None:
async def prepare(self, proc: Proc) -> None:
"""Prepare the job by given process
Primarily prepare the script, and provide cmd to the job for xqute
Expand Down
2 changes: 1 addition & 1 deletion pipen/pipen.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def run(
"""
return asyncio.run(self.async_run(profile))

def set_data(self, *indata: Any) -> "Pipen":
def set_data(self, *indata: Any) -> Pipen:
"""Set the input_data for start processes
Args:
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.5.2"
__version__ = "0.6.0"
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.5.2"
version = "0.6.0"
description = "A pipeline framework for python"
authors = [ "pwwang <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit f5c1389

Please sign in to comment.