示例#1
0
文件: tasks.py 项目: CI-WATER/portal
def _update_ueb_model_pkg_run_status(resource_id, status):
    data_dict = {'UEBRunStatus': status}
    update_msg = 'system auto updated ueb model package run status'
    background_task = True
    uebhelper.update_resource(resource_id, data_dict, update_msg,
                              background_task)
示例#2
0
文件: tasks.py 项目: CI-WATER/portal
def _update_ueb_model_pkg_run_status(resource_id, status):
    data_dict = {'UEBRunStatus': status}
    update_msg = 'system auto updated ueb model package run status'
    background_task = True
    uebhelper.update_resource(resource_id, data_dict, update_msg, background_task)
示例#3
0
文件: tasks.py 项目: CI-WATER/portal
def _update_ueb_request_process_status(resource_id, status):
    data_dict = {'PackageProcessingStatus': status}
    update_msg = 'system auto updated ueb package request status'
    background_task = True
    uebhelper.update_resource(resource_id, data_dict, update_msg,
                              background_task)
示例#4
0
文件: tasks.py 项目: CI-WATER/portal
def _update_ueb_request_process_status(resource_id, status):
    data_dict = {'PackageProcessingStatus': status}
    update_msg = 'system auto updated ueb package request status'
    background_task = True
    uebhelper.update_resource(resource_id, data_dict, update_msg, background_task)