Raise different errors based on the error code returned from the DP Library
まだ誰も着手していません。
評価
調査の方向性
Start in src/bindings/PyDP/pydp_lib/algorithm_builder.hpp at the linked handling of absl::StatusOr results. Trace the error codes returned by the DP Library and the Python exception path, then define the distinct exception behavior requested for invalid argument, unimplemented, failed precondition, and internal errors. Done means each listed error type raises a corresponding Python exception.
索引モデルが issue の本文から書いたものです。
説明
Description
In the builder of algorithms or numerical mechanisms, the DP Library returns different error types, i.e., invalid argument, unimplemented, failed precondition, or internal errors. Based on those types, we should raise different exceptions in Python, too.
Are you interested in working on this improvement yourself?
- No, I am not at the moment.
Additional Context
We would basically need to add a case statement based on the error code of the absl::StatusOr in the bindings.
- 主要言語
- Python
- スター
- 550
- フォーク
- 143
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenMined/PyDP のほかの issue
-
Type: New Feature :heavy_plus_sign:
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
Type: Question :grey_question:
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
Type: Question :grey_question:
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
-
Type: New Feature :heavy_plus_sign:
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
-
Support for M1 Mac? オープンStatus: Blocked :heavy_multiplication_x: Type: New Feature :heavy_plus_sign:
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·
-
ai-generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/production-stack#1105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100