`process_orchestration` raises ValidationError of pydantic
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Trace process_orchestration handling of the orchestration response, focusing on authenticationInfo and the Pydantic validation shown in the report. Reproduce the null-value case and compare it with the empty-string case; done means a null optional authenticationInfo no longer raises ValidationError.
Written by the indexing model from the issue text.
Description
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,

- Dominant language
- Python
- Stars
- 5
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from arrowhead-f/client-library-python
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 1/5 Under an hour Newbie friendliness 58/100
-
Update pypi repo Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
arrowhead-f/client-library-python#35 · 1 comment ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in arrowhead-f/client-library-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stephrobert/dsoxlab#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sublimehq/package_control#1780 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nwg-piotr/nwg-displays#145 ·