AI开发平台MODELARTS-查询可视化作业对象列表:示例代码

时间:2024-07-17 15:29:05

示例代码

在ModelArts notebook平台,Session鉴权无需输入鉴权参数。其它平台的Session鉴权请参见Session鉴权

1
2
3
4
5
from modelarts.session import Session
from modelarts.estimator import VisualizationJob
session = Session()
job_visualization_instance_list = VisualizationJob.get_visualization_job_object_list(modelarts_session=session, is_show=True, status=8, per_page=10, page=1, sort_by="create_time", order="asc", search_content="job")
print(job_visualization_instance_list)
support.huaweicloud.com/sdkreference-modelarts/modelarts_04_0182.html