def get_status(self, **kw):
        kw = ActionRequest.get_status(self, **kw)
        bp = kw['base_params']
        if self.quick_search:
            bp[constants.URL_PARAM_FILTER] = self.quick_search

        if self.order_by:
            sort = self.order_by[0]
            if sort.startswith('-'):
                sort = sort[1:]
                bp[constants.URL_PARAM_SORTDIR] = 'DESC'
            bp[constants.URL_PARAM_SORT] = sort

        if self.known_values:
            for k, v in list(self.known_values.items()):
                if self.actor.known_values.get(k, None) != v:
                    bp[k] = v
        if self.master_instance is not None:
            if isinstance(self.master_instance, models.Model):
                bp[constants.URL_PARAM_MASTER_PK] = self.master_instance.pk
                if settings.SITE.is_installed('contenttypes'):
                    from django.contrib.contenttypes.models import ContentType
                    mt = ContentType.objects.get_for_model(
                        self.master_instance.__class__).pk
                    bp[constants.URL_PARAM_MASTER_TYPE] = mt
                # else:
                #     logger.warning("20141205 %s %s",
                #                    self.master_instance,
                #                    ContentType)
            else:  # if self.master is None:
                bp[constants.URL_PARAM_MASTER_PK] = self.master_instance
            
        return kw
Return square-free decomposition of a polynomial in ``K[X]``.
dataset/ETHPy150Open lsaffre/lino/lino/core/tablerequest.py/TableRequest.get_status--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/sqfreetools.py/dmp_sqf_list