long tracebacks
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
Start by reviewing the Stream usage shown in the issue and the proposed to_graph() and run(graph, input) entry points. The issue does not identify files, tests, an existing execution path, or acceptance criteria, so the desired traceback behavior and definition of done need to be established first.
索引モデルが issue の本文から書いたものです。
説明
I'm wondering if we can avoid long tracebacks:
In [1]: from streamz import Stream
In [2]: s = Stream()
In [3]: snext = s
...: for i in range(10):
...: snext = snext.map(lambda x : x)
...:
In [4]: def foo(x):
...: raise ValueError("Foo")
...:
In [5]: snext.sink(foo)
Out[5]: <sink: foo>
In [6]: s.emit(1)
.... Long error message
<ipython-input-4-9636b5287c3d> in foo(x)
1 def foo(x):
----> 2 raise ValueError("Foo")
ValueError: Foo
A way around this could be that the stream returns a graph which is executed one by one by an external function, like:
graph = s.to_graph()
run(graph, input)
where the run function would walk through each node in the graph in a top-down fashion and resolve the results.
Any other thoughts? Just an idea I figured I'd document somewhere. thanks!
- 主要言語
- Python
- スター
- 1.3k
- フォーク
- 149
- 平均マージ
- 17時間 39分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-streamz/streamz のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
python-streamz/streamz#481 · コメント 4 件 ·
-
Combining the streamz.Stream.filenames() and streamz.Stream.from_textfile() using dask scatter? オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
python-streamz/streamz#480 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
python-streamz/streamz#479 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
python-streamz/streamz#478 · コメント 6 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 10/100
python-streamz/streamz#476 · コメント 17 件 · リアクション 2 件 ·
python-streamz/streamz の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·