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

Fixes #200 #201

Merged
merged 8 commits into from Nov 24, 2023
Merged

Fixes #200 #201

merged 8 commits into from Nov 24, 2023

Conversation

claeyswo
Copy link
Member

No description provided.

@@ -177,7 +177,8 @@ def list_straten(request):
request = set_http_caching(request, "adressenregister", "short")
Gateway = request.adressenregister_gateway()
gemeente_niscode = request.matchdict.get("niscode")
straten = handle_gateway_response(Gateway.list_straten, gemeente_niscode)
include_homoniem = request.matchdict.get("include_homoniem", False)
Copy link
Contributor

Choose a reason for hiding this comment

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

matchdict bevat denk ik enkel parameters die in de route zitten. Ik vermoed dat include homoniem eerder een queryparam zal zijn ?

matchdict
If a route has matched during this request, this attribute will be a dictionary containing the values matched by the URL pattern associated with the route. If a route has not matched during this request, the value of this attribute will be None. See The Matchdict.

Comment on lines 183 to 185
"homoniem": obj.homoniem(
include_homoniem=True if request.params.get("include_homoniem") else False
),
Copy link
Contributor

Choose a reason for hiding this comment

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

include_homoniem is een parameter bij naam() ipv homoniem()

@claeyswo claeyswo merged commit b4365ed into develop Nov 24, 2023
2 checks passed
@claeyswo claeyswo deleted the feature/200_homoniemen branch November 24, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants