Exemplo n.º 1
0
def generate_all_tables():
    chained_job = ChainedBackgroundJob(steps=[
        RefreshCanvasDataCatalog(),
        GenerateIntermediateTables(),
        IndexEnrollments(),
        GenerateBoacAnalytics(),
    ], )
    job_started = chained_job.run_async()
    return respond_with_status(job_started)
Exemplo n.º 2
0
def refresh_canvas_data_catalog():
    job_started = RefreshCanvasDataCatalog().run_async()
    return respond_with_status(job_started)