def after_model_change(self, form, model, is_created): # Discover tables and added data source conf = Conf(datetime.utcnow()) db = model.get_db_object() check_for_new_tables(db, conf) create_dashboards()
def run_check_for_new_tables(db, conf): check_for_new_tables(db, conf)
def run_check_for_new_tables(db): check_for_new_tables(db)