Raise different errors based on the error code returned from the DP Library
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 550
- Fork
- 143
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenMined/PyDP
-
Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
Type: Question :grey_question:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
Type: Question :grey_question:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Type: New Feature :heavy_plus_sign:
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
Support for M1 Mac? ApertaStatus: Blocked :heavy_multiplication_x: Type: New Feature :heavy_plus_sign:
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di OpenMined/PyDP
Issue simili
-
bug priority:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
NousResearch/hermes-agent#122386 · 1 commento ·
-
ai-generated
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/production-stack#1105 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100