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

Return empty list for *Relations and NodeWays calls #121

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

metaodi
Copy link
Owner

@metaodi metaodi commented Nov 22, 2021

resolves #117

Stefan Oderbolz added 2 commits November 22, 2021 16:55
As stated in the API documentation it's possible this returns an empty
XML, so all *Relations() calls should return an empty list in those
cases.
If there is no way containing a certain node, the NodeWays() function
should not fail but rather return an empty list.
@metaodi metaodi force-pushed the node-relations-empty-response branch from 6c17d65 to 3a87a5c Compare November 22, 2021 15:55
@metaodi metaodi merged commit df36af5 into develop Nov 22, 2021
@metaodi metaodi deleted the node-relations-empty-response branch November 22, 2021 16:11
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.

Don't raise XmlResponseInvalidError when using NodeRelations
1 participant