def __init__(self,<EOL>source,<EOL>allowed_elements=allowed_elements,<EOL>allowed_attributes=allowed_attributes,<EOL>allowed_css_properties=allowed_css_properties,<EOL>allowed_css_keywords=allowed_css_keywords,<EOL>allowed_svg_properties=allowed_svg_properties,<EOL>allowed_protocols=allowed_protocols,<EOL>allowed_content_types=allowed_content_types,<EOL>attr_val_is_uri=attr_val_is_uri,<EOL>svg_attr_val_allows_ref=svg_attr_val_allows_ref,<EOL>svg_allow_local_href=svg_allow_local_href):
super(Filter, self).__init__(source)<EOL>self.allowed_elements = allowed_elements<EOL>self.allowed_attributes = allowed_attributes<EOL>self.allowed_css_properties = allowed_css_properties<EOL>self.allowed_css_keywords = allowed_css_keywords<EOL>self.allowed_svg_properties = allowed_svg_properties<EOL>self.allowed_protocols = allowed_protocols<EOL>self.allowed_content_types = allowed_content_types<EOL>self.attr_val_is_uri = attr_val_is_uri<EOL>self.svg_attr_val_allows_ref = svg_attr_val_allows_ref<EOL>self.svg_allow_local_href = svg_allow_local_href<EOL>
Creates a Filter

        :arg allowed_elements: set of elements to allow--everything else will
            be escaped

        :arg allowed_attributes: set of attributes to allow in
            elements--everything else will be stripped

        :arg allowed_css_properties: set of CSS properties to allow--everything
            else will be stripped

        :arg allowed_css_keywords: set of CSS keywords to allow--everything
            else will be stripped

        :arg allowed_svg_properties: set of SVG properties to allow--everything
            else will be removed

        :arg allowed_protocols: set of allowed protocols for URIs

        :arg allowed_content_types: set of allowed content types for ``data`` URIs.

        :arg attr_val_is_uri: set of attributes that have URI values--values
            that have a scheme not listed in ``allowed_protocols`` are removed

        :arg svg_attr_val_allows_ref: set of SVG attributes that can have
            references

        :arg svg_allow_local_href: set of SVG elements that can have local
            hrefs--these are removed