Async support for `PDBDebugger`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
async_driver.Builder()、PDBDebugger、および報告された ValueError を発生させるアダプターのライフサイクル検証から始めます。示されている非同期構成で問題を再現し、その後、同期および非同期のライフサイクルメソッドがどのように収集されるかを追跡します。async_driver.Builder() で PDBDebugger を誤ったアダプター競合なしに使用でき、関連する動作がテストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
sf-hamitlon=1.80.0
I would like to use PDBDebugger with async_driver.Builder().
from hamilton.lifecycle import PDBDebugger
dr = asyncio.run(
async_driver.Builder()
.with_modules(__main__)
.with_config({"env": "dev"})
.with_adapters(
# base.PandasDataFrameResult(),
# PDBDebugger("raw_loaded_report_data", after=True),
PDBDebugger("raw_trades.missing_trade_attributes", during=True),
)
.build()
)
Raises : ValueError: Multiple adapters cannot (currently) implement the same lifecycle method. Sync methods: ['do_node_execute']. Async methods: []
even though there was only one adapter provided. I think this error is a bit imprecise?
Describe the solution you'd like
A clear and concise description of what you want to happen.
I would like to use PDBDebugger with async_driver.Builder().
If it makes sense, I'd also like to
Describe alternatives you've considered
Using pdb.set_trace() on lines I want to inspect.
Additional context
The async_driver requires the use of .with_adapters() but does not support multiple adapters.
.with_adapters(
base.PandasDataFrameResult(),
PDBDebugger("raw_trades.missing_trade_attributes", during=True),
)
Raises: ValueError: Multiple adapters cannot (currently) implement the same lifecycle method. Sync methods: ['do_node_execute']. Async methods: []
- 主要言語
- Jupyter Notebook
- スター
- 2.6k
- フォーク
- 223
- 平均マージ
- 14時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/hamilton のほかの issue
-
FunctionInputOutputTypeChecker rejects correct values for fixed-length tuple annotations (tuple[int, str])対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
Engine crashes when client sends nan or inf float to UI再び着手できるかも @Exudev が 243 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug SDK
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
apache/hamilton#1458 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
More detailed type annotations in graph visualizations再び着手できるかも @Nishant-Manocha が 378 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
apache/hamilton#1383 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Documentation: add explainer for FastAPI再び着手できるかも @Aditya-Deshwal23 が 197 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
難易度 2/5 1〜2日 初心者へのやさしさ 65/100
apache/hamilton#1304 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
Link back to github from reference API docs対応中かも @naikvaib が 35 日前に担当しました。 オープンdocumentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/hamilton#572 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
apache/hamilton の issue をすべて見る
似ている issue
-
area/tools bug session-analysis
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Help-Wanted Needs-Triage Package-Request
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/winget-pkgs#461780 ·
メンテナーはふだん 1 日以内に返信
-
prompting proposal tool triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
can1357/oh-my-pi#17041 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
cathrynlavery/diagram-design#482 ·
メンテナーはふだん 2 日以内に返信
-
automated-analysis bug cookie safe-outputs tool-improvement workflow-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
github/gh-aw#71952 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信