def _patch_stats_request(request):
    '''If the request has no filter config, add one that should do what is
    expected (include all items)
    see: PE-11813
    '''
    filt = request.get('filter', {})
    if not filt.get('config', None):
        request['filter'] = filters.date_range('acquired',
                                               gt='1970-01-01T00:00:00Z')
    return request
def _patch_stats_request ( request ) : filt = request . get ( 'filter' , { } ) if not filt . get ( 'config' , None ) : request [ 'filter' ] = filters . date_range ( 'acquired' , gt = '1970-01-01T00:00:00Z' ) return request
If the request has no filter config, add one that should do what is
    expected (include all items)
    see: PE-11813