`process_orchestration` raises ValidationError of pydantic
まだ誰も着手していません。
評価
調査の方向性
process_orchestration による orchestration response の処理を追跡し、authenticationInfo とレポートに示されている Pydantic のバリデーションに注目します。null 値のケースを再現し、空文字列のケースと比較します。完了条件は、null のオプショナルな authenticationInfo が ValidationError を発生させなくなることです。
索引モデルが issue の本文から書いたものです。
説明
Hi, when I try to do orchestration of a service, I get a ValidationError of pydantic. When I debug the code step by step, I realize that authenticationInfo couldn't get from core service Orchestration. It's actually null in the database and this doesn't cause an error in Java client. However when I debug and I even change the provider value orchestration response as authenticationInfo = null, error continue. Finally, I changed the provider value of orchestration response as authenticationInfo = "" and it was fixed. Even provider authenticationInfo is nonrequired, process_orchestration raises error. I'm sharing debugging screenshots.
authenticationInfo is returned from core service Orchestration and there is no exception in Java client

authenticationInfo couldn't get from service Orchestration

authenticationInfo couldn't get from service Orchestration and error raised from pydantic like below

authenticationInfo couldn't get from service Orchestration and I added it as null but error raised from pydantic like below,

- 主要言語
- Python
- スター
- 5
- フォーク
- 12
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
arrowhead-f/client-library-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 58/100
-
Update pypi repo オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
arrowhead-f/client-library-python#35 · コメント 1 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
arrowhead-f/client-library-python の issue をすべて見る
似ている issue
-
agent-ready documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
instance instance add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
searxng/searx-instances#939 · コメント 1 件 ·
-
area-deployment area-integrations triage:bot-seen
難易度 2/5 半日 初心者へのやさしさ 86/100