def get_params(self):
        params = []
        params.append(('defType', self.__deftype))
        params.append(('qf', self.__qf))

        for p in self.__optional_params:
            if self.__optional_params[p]:
                params.append((p, self.__optional_params[p]))

        return params
Retrieve kwargs which are passed to "LiveActionAPI.model" method.
dataset/ETHPy150Open truemped/dopplr/dopplr/solr/query/dismax.py/DisMax.get_params--crossover with--dataset/ETHPy150Open StackStorm/st2/st2api/st2api/controllers/resource.py/ResourceController._get_from_model_kwargs_for_request