apache / apache/hamilton

docs: `PDBDebugger` and `Parallelizable`

Open
#1,224 1 comment 0 reactions 0 assignees View on GitHub
documentation Dynamic DAGs
Dominant language
Jupyter Notebook
Stars
2.6k
Forks
213
PR merge metrics
No merged PRs in 30d

Description

It should be noted the `PDBDebugger` doesn't work with parallel and multithreaded task-based execution. However, you can use it in combination with the `SynchronousLocalTaskExecutor`

```python
import my_dataflow
from hamilton import driver
from hamilton.execution.executors import SynchronousLocalTaskExecutors
from hamilton.lifecycle import PDBDebugger

dr = (
driver.Builder()
.enable_dynamic_execution(allow_experimental_mode=True)
.with_modules(my_dataflow)
.with_adapters(PDBDebugger(...))
.with_remote_executor(SynchronousLocalTaskExecutor())
.build()
)

dr.execute(...)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.