Skip to content

Commit

Permalink
[#3864] Clarify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Feb 12, 2024
1 parent f7b3309 commit 6310a31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/openforms/formio/components/np_family_members/stuf_bg.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ def get_np_family_members_stuf_bg(
include_partners: bool,
submission: Submission | None = None,
) -> list[tuple[str, str]]:
values = []
attributes: list[str] = []
if include_children:
values.append("inp.heeftAlsKinderen")
attributes.append("inp.heeftAlsKinderen")

if include_partners:
values.append("inp.heeftAlsEchtgenootPartner")
attributes.append("inp.heeftAlsEchtgenootPartner")

with get_client() as client:
data = client.get_values(bsn, values)
data = client.get_values(bsn, attributes)

# Kids
family_members = []
Expand Down

0 comments on commit 6310a31

Please sign in to comment.