-
Notifications
You must be signed in to change notification settings - Fork 46
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: remove default queryables form value #1473
base: develop
Are you sure you want to change the base?
Conversation
Test Results 4 files ±0 4 suites ±0 6m 28s ⏱️ ±0s Results for commit 93182d0. ± Comparison against base commit 045a849. This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Code Coverage (Ubuntu)
Diff against develop
Results for commit: 93182d0 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Code Coverage (Windows)
Diff against develop
Results for commit: 93182d0 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please test this fix
for now the check was only on default eodag configuration and constraints file of the provider
8a8bb18
to
0e51188
Compare
'fetch_data()' must have been exposed to use it correctly in the test
0e51188
to
93182d0
Compare
Fixes: #1450
When a queryable is called with an empty value (
""
,None
,[]
, etc.) indag.list_queryables()
, the returned default value of this queryable must be cleared in order to let other queryables depending on it list all their available values. Now, no default value is returned and the queryable appears as required.Moreover, if a queryable was called in
dag.list_queryables()
while it was neither a default value of the provider configuration nor in the provider constraints file but it was in the provider queryables form, an error was raised. This is possible now.