Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3864] Fix handling of StufBG responses with one partner #3867

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

Viicos
Copy link
Contributor

@Viicos Viicos commented Feb 12, 2024

Fixes #3864

I think it would be nice to get a more robust solution for xml parsing. OIP uses https://github.com/tefra/xsdata which looks great. https://github.com/dapper91/pydantic-xml looks interesting as well

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (efc4688) 96.34% compared to head (6310a31) 96.34%.
Report is 7 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3867   +/-   ##
=======================================
  Coverage   96.34%   96.34%           
=======================================
  Files         707      707           
  Lines       22163    22188   +25     
  Branches     2542     2547    +5     
=======================================
+ Hits        21353    21378   +25     
  Misses        565      565           
  Partials      245      245           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -69,6 +69,7 @@ def get_values(self, bsn: str, attributes: list[str]) -> dict:
response_data,
process_namespaces=True,
namespaces=NAMESPACE_REPLACEMENTS,
force_list=["inp.heeftAlsEchtgenootPartner", "inp.heeftAlsKinderen"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢 why is this standard like this

@sergei-maertens
Copy link
Member

I think it would be nice to get a more robust solution for xml parsing. OIP uses https://github.com/tefra/xsdata which looks great. https://github.com/dapper91/pydantic-xml looks interesting as well

I really want all of this stuff out of OF/OIP and properly organized in a centralized library used by the final projects. It's crazy how many times we implement the same things over and over but in slightly different ways.

@sergei-maertens sergei-maertens added the needs-backport Fix must be backported to stable release branch label Feb 12, 2024
@Viicos Viicos force-pushed the issue/3864-array branch 2 times, most recently from 96c49d1 to a11b44a Compare February 12, 2024 15:38
@sergei-maertens sergei-maertens merged commit 801aaf6 into master Feb 12, 2024
26 checks passed
@sergei-maertens sergei-maertens deleted the issue/3864-array branch February 12, 2024 19:23
sergei-maertens pushed a commit that referenced this pull request Feb 12, 2024
sergei-maertens pushed a commit that referenced this pull request Feb 12, 2024
@sergei-maertens
Copy link
Member

Backports:

Older versions didn't support this functionality yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-backport Fix must be backported to stable release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Processing the family member choices leads to errors since it contains non-arrays
2 participants