Skip to content

Remove status from pytask_execute_task_log_start. #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-parallel) and
environments with the same OS.
- {pull}`106` fixes {pull}`99` such that only when there are coiled functions, all ready
tasks are submitted.
- {pull}`107` removes status from `pytask_execute_task_log_start` hook call.

## 0.4.1 - 2024-01-12

Expand Down
3 changes: 1 addition & 2 deletions src/pytask_parallel/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from pytask import PTask
from pytask import PythonNode
from pytask import Session
from pytask import TaskExecutionStatus
from pytask import console
from pytask import get_marks
from pytask import hookimpl
Expand Down Expand Up @@ -92,7 +91,7 @@ def pytask_execute_build(session: Session) -> bool | None: # noqa: C901, PLR091
for task_name in ready_tasks:
task = session.dag.nodes[task_name]["task"]
session.hook.pytask_execute_task_log_start(
session=session, task=task, status=TaskExecutionStatus.RUNNING
session=session, task=task
)
try:
session.hook.pytask_execute_task_setup(
Expand Down
Loading