def strip_query(path):
    query_start = path.find('?')
    if query_start != -1:
        return path[:query_start]
    return path
Materialize this section as a dictionary.
dataset/ETHPy150Open wrr/wwwhisper/wwwhisper_auth/url_utils.py/strip_query--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/conf.py/ConfigSection._coerce_type