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

Fix parsing of options - support missing options #939

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

pduchesne
Copy link
Contributor

Currently the OpenSearch parser generates Parameter instances with a default empty array for options. But at querying time this causes the parameter to be validated against an empty set of valid values, and therefore fail.

This fix leaves the options attribute empty if no options are passed in the description document.

@tomkralidis tomkralidis merged commit c16a6db into geopython:master Sep 29, 2024
0 of 4 checks passed
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.

2 participants