|
@@ -202,6 +202,7 @@ def post_install_requirements(requirements_str: str,target_path: str):
|
|
|
|
|
|
# 根据job_id和af_run_id获取运行状态
|
|
|
def get_running_status(job_id: str, af_run_id: str):
|
|
|
+ print(job_id, af_run_id)
|
|
|
res = requests.get(url=f'http://{AF_HOST}:{AF_PORT}/af/af_run/running_status/{job_id}/{af_run_id}')
|
|
|
result = res.json()
|
|
|
if 'code' in result.keys() and result['code'] == 200:
|