Overrides the :class:`SQLUpdateCompiler` method in order to remove any
        CTE-related WHERE clauses, which are not necessary for UPDATE queries,
        yet may have been added if this query was cloned from a CTEQuery.

        :return:
        :rtype:

def as_sql(self, *args, **kwargs):
        """
        Overrides the :class:`SQLUpdateCompiler` method in order to remove any
        CTE-related WHERE clauses, which are not necessary for UPDATE queries,
        yet may have been added if this query was cloned from a CTEQuery.

        :return:
        :rtype:
        """
        CTEQuery._remove_cte_where(self.query)
        return super(self.__class__, self).as_sql(*args, **kwargs)