We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ce8032 commit 8038795Copy full SHA for 8038795
1 file changed
src/SearchAPI/application/asf_opts.py
@@ -177,7 +177,7 @@ async def process_search_request(request: Request) -> SearchOptsModel:
177
178
try:
179
# we are no longer allowing unbounded searches
180
- if query_opts.granule_list is None and query_opts.product_list is None and output != 'python':
+ if query_opts.granule_list is None and query_opts.product_list is None and output not in ['python', 'count']:
181
if query_opts.maxResults is None:
182
maxResults = asf.search_count(opts=query_opts)
183
if maxResults > 2000:
0 commit comments