Skip to content

Commit

Permalink
fix: add provider queryables
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Dec 5, 2023
1 parent c572ce5 commit e684b24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eodag/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2006,6 +2006,11 @@ def get_queryables(

provider_queryables = set(default_queryables)

# add provider queryables
for key, value in getattr(plugin.config, "metadata_mapping", {}).items():
if isinstance(value, list) and "TimeFromAscendingNode" not in key:
provider_queryables.add(key)

if product_type:
# list of all product_type-specific queryables
mapping = dict(
Expand Down

0 comments on commit e684b24

Please sign in to comment.