Skip to content

Commit

Permalink
0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Jan 12, 2024
1 parent d5dfd16 commit a3ea273
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.13.0

- deps: bump xqute to 0.3.0 and liquidpy to 0.8.2
- deps: bump xqute to 0.3.1 and liquidpy to 0.8.2
- breaking: change hook `on_job_running` to `on_job_started` and add `on_job_polling`

## 0.12.5
Expand Down
7 changes: 6 additions & 1 deletion examples/plugin-example.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ async def on_proc_start(proc):
async def on_proc_done(proc, succeeded):
logger.info("Calling on_proc_done, succeeded = %s", succeeded)

@plugin.impl
async def on_job_polling(proc, job):
logger.info("Calling on_job_polling")


class AProcess(Proc):
input = "a"
script = 'sleep 2'


if __name__ == "__main__":
Pipen(plugins=[NotifyPlugin]).set_starts(AProcess).run()
Pipen(plugins=[NotifyPlugin], cache=False).set_starts(AProcess).run()
18 changes: 14 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ liquidpy = "^0.8.2"
pandas = "^2"
enlighten = "^1"
argx = "^0.2.10"
xqute = "^0.3.0"
xqute = "^0.3.1"
## included in xqute
# rich = "^13"
# diot = "^0.1"
Expand Down

0 comments on commit a3ea273

Please sign in to comment.