<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_series(self, keys=None, tags=None, attrs=None, allow_truncation=False):
 """Delete a series according to the given criteria. **Note:** for the key argument, the filter will return the *union* of those values. For the tag and attr arguments, the filter will return the *intersection* of those values. :param keys: filter by one or more series keys :type keys: list or string :param tags: filter by one or more tags :type tags: list or string :param dict attrs: filter by one or more key-value attributes :param bool allow_truncation: whether to allow full deletion of a database. Default is False. :rtype: :class:`tempodb.response.Response` object"""


        params = {
            'key': keys,
            'tag': tags,
            'attr': attrs,
            'allow_truncation': str(allow_truncation).lower()
        }
        url_args = endpoint.make_url_args(params)
        url = '?'.join([endpoint.SERIES_ENDPOINT, url_args])
        resp = self.session.delete(url)
        return resp