def disable_preview(self):
        self.post("control", action="disablepreview")
        return self
Use this decorator on the dispatch method of a TemplateView subclass
dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/client.py/Job.disable_preview--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/style/decorators.py/use_maps