def qs_del(self): """ A request string that turns this definition off. :return: str """ return mutate_query_params(self.owner.request, {self.owner.request_param: None})
def qs_add(self): """ A request string that turns this definition on. :return: str """ return mutate_query_params(self.owner.request, {self.owner.request_param: self.slug})