Skip to content

feat: granule list supports other filters#117

Merged
tylercchase merged 6 commits into
testfrom
dev
May 26, 2026
Merged

feat: granule list supports other filters#117
tylercchase merged 6 commits into
testfrom
dev

Conversation

@tylercchase
Copy link
Copy Markdown
Member

Changes

  • Enables searches that use filters to combine granule_list with other filters.

Comment thread src/SearchAPI/application/asf_opts.py Outdated
if "product_list" in params:
if len([param for param in params if param not in ["collections", "maxResults"]]) > 1:
raise ValueError(
'Cannot use search keywords "granule_list/product_list" with other search params'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

granule_list should be dropped from the error message, otherwise lgtm!

@tylercchase tylercchase merged commit efe5200 into test May 26, 2026
6 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