Skip to content

Commit

Permalink
fix: add provider queryables
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato authored and alambare committed Dec 6, 2023
1 parent ad6494d commit b471cf5
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 @@ -2033,6 +2033,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 b471cf5

Please sign in to comment.