def _geo_lookup_plan(self, source_id, params, conf): plan = PlanObject(params, source_id, conf) plan.data_source = 'vertica-dashboard' plan.template_file = 'geo_lookup.sql' return plan
def _geo_widget_plan(self, source_id, params, conf): plan = PlanObject(params, source_id, conf) # here comes the logic around the params plan.data_source = 'vertica-dashboard' plan.template_file = 'geo_widget.sql' return plan