Commit 69179e58 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

More debug logging for search API.

parent da6f8ba8
Pipeline #53032 passed with stages
in 15 minutes and 22 seconds
......@@ -101,6 +101,7 @@ def add_common_parameters(request_parser):
help='A yyyy-MM-ddTHH:mm:ss (RFC3339) maximum entry time (e.g. upload time)')
for quantity in search.search_quantities.values():
print('## %s: %s' % (, quantity.multi))
request_parser.add_argument(, type=str, help=quantity.description,
action='append' if quantity.multi else None)
......@@ -154,6 +155,8 @@ def create_owner_query():
def create_search_parameters():
""" Helper that creates a request.args dict with isolated search parameters """
logger.debug('create search parameter', request_args=str(dict(**request.args)))
search_parameters = dict(**request.args)
search_parameters.pop('owner', None)
search_parameters.pop('scroll', None)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment