'Formats allowed filters'

@common.process_general_filtering('snapshot')
def _process_snapshot_filtering(self, context=None, filters=None, req_version=None):

    if req_version.matches(None, '3.21'):
        filters.pop('metadata', None)
    allowed_search_options = self._get_snapshot_filter_options()
    utils.remove_invalid_filter_options(context, filters, allowed_search_options)
