Beispiel #1
0
    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()
Beispiel #2
0
def run_check_for_new_tables(db, conf):
    check_for_new_tables(db, conf)
Beispiel #3
0
def run_check_for_new_tables(db):
    check_for_new_tables(db)