Skip to content

Fix parsing of options - support missing options#939

Merged
tomkralidis merged 1 commit intogeopython:masterfrom
pduchesne:master
Sep 29, 2024
Merged

Fix parsing of options - support missing options#939
tomkralidis merged 1 commit intogeopython:masterfrom
pduchesne:master

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
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