示例#1
0
文件: app.py 项目: xang1234/mlcomp
def report_update_layout_end():
    data = request_data()
    provider = ReportProvider(_write_session)
    layout_provider = ReportLayoutProvider(_write_session)
    provider.update_layout_end(data['id'], data['layout'],
                               layout_provider.all())
    return provider.detail(data['id'])
示例#2
0
文件: app.py 项目: xang1234/mlcomp
def report():
    id = request_data()
    provider = ReportProvider(_read_session)
    res = provider.detail(id)
    return res